mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
4763b79479
Restarting the salt-api service should also terminate processes in the same context group to ensure that they are being stopped cleanly.
15 lines
236 B
Desktop File
15 lines
236 B
Desktop File
[Unit]
|
|
Description=REST API for Salt
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/default/salt-api
|
|
LimitNOFILE=8192
|
|
Type=simple
|
|
NotifyAccess=all
|
|
ExecStart=/usr/bin/salt-api
|
|
Restart=$RESTART
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|