From 5ab1d6ea593e88d92f5e49bc92678cfd18439c6a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 2 Nov 2015 14:11:07 -0500 Subject: [PATCH] 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. --- confluent_server/systemd/confluent.service | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/systemd/confluent.service b/confluent_server/systemd/confluent.service index efe15527..91782303 100644 --- a/confluent_server/systemd/confluent.service +++ b/confluent_server/systemd/confluent.service @@ -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