summarylogtreecommitdiffstats
path: root/systemd_storm-supervisor.service
blob: b602320e3b7fb233c3b0b28889e0c7718034e293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Storm Supervisor node
Requires=zookeeper@storm.service
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 supervisor

[Install]
WantedBy=multi-user.target