diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/hobbit/run')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/hobbit/run | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/hobbit/run b/abs/core/runit-scripts/runitscripts/services/hobbit/run new file mode 100755 index 0000000..d36243b --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/hobbit/run @@ -0,0 +1,9 @@ +#!/bin/sh +exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting hobbit server" + + +exec su nobody -c "/data/srv/hobbit/server/bin/hobbitlaunch --config=/data/srv/hobbit/server/etc/hobbitlaunch.cfg --env=/data/srv/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitlaunch.log --pidfile=/var/log/hobbit/hobbitlaunch.pid --no-daemon" |