diff options
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/hobbit-client')
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/hobbit-client/run | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/hobbit-client/run b/abs/core-testing/runit-scripts/runitscripts/services/hobbit-client/run index e45173d..a28c6f8 100755 --- a/abs/core-testing/runit-scripts/runitscripts/services/hobbit-client/run +++ b/abs/core-testing/runit-scripts/runitscripts/services/hobbit-client/run @@ -1,4 +1,9 @@ #!/bin/sh +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting hobbit client" + #----------------------------------------------------------------------------# # Hobbit client bootup script. # # # @@ -64,5 +69,6 @@ MACHINE="`echo $MACHINEDOTS | sed -e 's/\./,/g'`" export MACHINE MACHINEDOTS BBOSTYPE BBOSSCRIPT HOBBITCLIENTHOME CONFIGCLASS + su nobody -c "$HOBBITCLIENTHOME/bin/hobbitlaunch --config=$HOBBITCLIENTHOME/etc/clientlaunch.cfg --log=$HOBBITCLIENTHOME/logs/clientlaunch.log --pidfile=$HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --no-daemon" |