diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mythexpress/run')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythexpress/run | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/run b/abs/core/runit-scripts/runitscripts/services/mythexpress/run new file mode 100755 index 0000000..3e58490 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/run @@ -0,0 +1,8 @@ +#!/bin/sh +exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting MythExpress" +su http -s/bin/bash -c "node /usr/mythexpress/app.js" + |