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

15 lines
235 B
Plaintext
Raw Normal View History

#!/bin/bash
sleep 2
while [[ -e /state/.starting ]]; do
sleep 1
done
echo "web starting..."
cd /mastodon/app
2019-12-09 09:15:23 +00:00
exec \
envdir /state/envdir \
chpst -u mastodon:mastodon \
bash -i -c "bundle exec puma -C config/puma.rb"