diff options
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit')
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run index 24ad9fe..19b8194 100755 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run +++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run @@ -1,3 +1,7 @@ #!/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" |