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

15 lines
220 B
Plaintext
Raw Normal View History

#!/bin/bash
2019-12-09 11:55:55 +00:00
sleep 5
while [[ -e /state/.starting ]]; do
2019-12-09 11:55:55 +00:00
sleep 5
done
echo "streaming starting..."
cd /mastodon/app
2019-12-09 09:15:23 +00:00
exec \
envdir /state/envdir \
chpst -u mastodon:mastodon \
bash -i -c "npm run start"