summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/mythexpress/run
blob: 7410f439f201fc2be43cc8354251759fdee3f90d (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
/usr/bin/svwaitup -s 10 /service/avahi
stat_runit "Starting MythExpress"
exec su  http -s/bin/bash -c "node /usr/mythexpress/app.js"