Public feed
#887564
#! /bin/sh
# /etc/init.d/dbhub
#
# Always Run
touch /var/lock/dbhub
# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting Dbhub"
su komodo -c 'sudo dbhub'
;;
stop)
echo "Stopping dbhub"
su komodo -c 'sudo killall dbhub'
;;
*)
echo "Usage: /etc/init.d/blah {start|stop}"
exit 1
;;
esac
exit 0