mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Have init script use previously added confluent capability
This commit is contained in:
parent
5012c9e401
commit
57d0997d62
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user