2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Have init script use previously added confluent capability

This commit is contained in:
Jarrod Johnon 2014-10-07 11:19:13 -04:00
parent 5012c9e401
commit 57d0997d62

View File

@ -13,8 +13,7 @@
case $1 in
restart)
echo -n 'Stopping Confluent '
kill `cat /var/run/confluent/pid`
sleep 5
/opt/confluent/bin/confetty shutdown
echo -n 'Starting Confluent '
/opt/confluent/bin/confluent
success
@ -26,7 +25,7 @@ case $1 in
;;
stop)
echo -n 'Stopping Confluent '
kill `cat /var/run/confluent/pid`
/opt/confluent/bin/confetty shutdown
success
;;
esac