mastodon-docker/rootfs/etc/service/web/run
2019-12-09 01:15:23 -08:00

15 lines
235 B
Bash

#!/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 -i -c "bundle exec puma -C config/puma.rb"