about ready to start testingabout ready to start testing

This commit is contained in:
2019-12-07 22:50:36 -08:00
parent bf6a0dc199
commit c7b081f5b9
10 changed files with 107 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
#!/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 \
bash -c "bundle exec sidekiq -c $SIDEKIQ_WORKERS -q default -q push -q pull -q mailers"