mastodon-docker/rootfs/etc/service/sidekiq/run

15 lines
282 B
Plaintext
Raw Normal View History

#!/bin/bash
sleep 2
while [[ -e /state/.starting ]]; do
sleep 1
done
echo "sidekiq starting..."
cd /mastodon/app
exec \
envdir /state/envdir \
chpst -u mastodon:mastodon \
2019-12-09 09:15:23 +00:00
bash -i -c "bundle exec sidekiq -c $SIDEKIQ_WORKERS -q default -q push -q pull -q mailers"