diff --git a/confluent_server/sysvinit/confluent b/confluent_server/sysvinit/confluent index f23435ca..fad6b4c7 100755 --- a/confluent_server/sysvinit/confluent +++ b/confluent_server/sysvinit/confluent @@ -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