mastodon-docker/rootfs/etc/service/streaming/run
2019-12-09 03:55:55 -08:00

15 lines
220 B
Bash

#!/bin/bash
sleep 5
while [[ -e /state/.starting ]]; do
sleep 5
done
echo "streaming starting..."
cd /mastodon/app
exec \
envdir /state/envdir \
chpst -u mastodon:mastodon \
bash -i -c "npm run start"