Commit 7d24ec76 authored by Georgios Ouzounis's avatar Georgios Ouzounis

LAM-49 Apache Zookeeper init script, uses start-stop-daemon in stop switch.

parent 9e1ffd62
......@@ -22,7 +22,7 @@ start(){
}
stop(){
kill -s 9 $(cat $PIDFILE)
/sbin/start-stop-daemon --stop --remove-pidfile --pidfile $PIDFILE
RETVAL=$?
[ $RETVAL -eq 0 ] && $(rm -f $LOCKFILE)
return $RETVAL
......
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