diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-05 16:11:58 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-05 16:11:58 (GMT) |
commit | 0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980 (patch) | |
tree | 9ce15b27998eb6bb1b358ccc860077eceabb6507 /abs/core/runit-scripts/runitscripts/services/remyth/run | |
parent | b708613a286e98a3a2fc30ae9624680e9ffd3901 (diff) | |
download | linhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.zip linhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.tar.gz linhes_pkgbuild-0ab5cd4e6e8b1ee1f04b50b6079c6c29d5143980.tar.bz2 |
runit-scripts: Add remyth service
refs #863
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/remyth/run')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/remyth/run | 8 |
1 files changed, 8 insertions, 0 deletions
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" + |