hometown-mastodon/root/etc/services.d/streaming/run
2022-11-08 09:05:24 +00:00

10 lines
259 B
Plaintext
Executable file

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
NODE_ENV=production
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 4000" \
cd /app/www s6-setuidgid abc node ./streaming