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

Prevent hang on systemctl stop confluent

systemd's default stop seems to be incapable of understanding
how to shut down our service.  Provide an explicit ExecStop
to have systemd act more sanely.
This commit is contained in:
Jarrod Johnson 2015-11-02 14:11:07 -05:00
parent d8c3b2f267
commit 5ab1d6ea59

View File

@ -6,6 +6,7 @@ Description=Confluent hardware manager
Type=forking
PIDFile=/var/run/confluent/pid
ExecStart=/opt/confluent/bin/confluent
ExecStop=/opt/confluent/bin/confetty shutdown /
[Install]
WantedBy=multi-user.target