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

12 lines
214 B
Plaintext
Raw Normal View History

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