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

15 lines
220 B
Plaintext
Raw Normal View History

#!/bin/bash
sleep 2
while [[ -e /state/.starting ]]; do
sleep 1
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"