2021-03-20 18:48:36 +08:00
|
|
|
[Unit]
|
|
|
|
|
Description=Apache Storm supervisor service
|
|
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
2021-08-23 11:18:55 +08:00
|
|
|
EnvironmentFile=/etc/sysconfig/storm
|
2021-03-20 18:48:36 +08:00
|
|
|
ExecStart=/opt/storm/bin/storm --config /etc/storm/storm.yaml supervisor
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
StandardOutput=syslog
|
|
|
|
|
StandardError=syslog
|
|
|
|
|
SyslogIdentifier=storm-supervisor
|
|
|
|
|
SyslogLevel=debug
|
2021-06-14 17:36:36 +08:00
|
|
|
SuccessExitStatus=20
|
2021-03-20 18:48:36 +08:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|