nodescore/nodescored

23 lines
276 B
Bash
Executable File

#! /bin/sh
# /etc/init.d/nodescored
#
nodescore
case "$1" in
start)
nodescore
echo "Starting NodeScore "
;;
stop)
killall node
echo "Stopping Nodescore"
;;
*)
echo "Usage: /etc/init.d/nodescored {start|stop}"
exit 1
;;
esac
exit 0