Commit 8d8c71d6 authored by Kirk Webb's avatar Kirk Webb

Changed startup script rc.setup to cleanly startup slothd by:

- killing off any currently running slothd (potentially started by rc.testbed)
- removing the lockfile
- staring the daemon

Slothd should now startup properly after a machine crash.
parent 6581d052
......@@ -55,6 +55,8 @@ fi
if [ -x /etc/testbed/slothd ]; then
echo "Starting usage detector ..."
killall slothd
rm -f /tmp/.sdpid
/etc/testbed/slothd
fi
......
......@@ -46,6 +46,8 @@ fi
if [ -x /etc/rc.d/testbed/slothd ]; then
echo "Starting usage detector ..."
killall slothd
rm -f /tmp/.sdpid
/etc/rc.d/testbed/slothd
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment