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