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