From 57d0997d62d7f8611a61c921b1ca7c7efce7b982 Mon Sep 17 00:00:00 2001 From: Jarrod Johnon Date: Tue, 7 Oct 2014 11:19:13 -0400 Subject: [PATCH] Have init script use previously added confluent capability --- confluent_server/sysvinit/confluent | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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