summarylogtreecommitdiffstats
path: root/systemd_storm-nimbus.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd_storm-nimbus.service')
-rw-r--r--systemd_storm-nimbus.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd_storm-nimbus.service b/systemd_storm-nimbus.service
index f63285175ca8..dea5a111c79a 100644
--- a/systemd_storm-nimbus.service
+++ b/systemd_storm-nimbus.service
@@ -6,6 +6,10 @@ After=network.target zookeeper@storm.service
[Service]
User=storm
Group=storm
+# The regular way for Systemd to stop the daemon is to send SIGTERM (15)
+# to the underlying process spawned by the `ExecStart` script.
+# When done, the underlying process will thus return 15 to its parent script
+# which will itself return 128+15=143 (See `man bash`)
SuccessExitStatus=143
ExecStart=/usr/bin/storm nimbus