mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #36823 from terminalmage/pr-36806
Update debian systemd unit files to use default KillMode, Type=notify
This commit is contained in:
commit
326bbd5e30
7 changed files with 9 additions and 15 deletions
|
@ -3,13 +3,10 @@ Description=REST API for Salt
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-api
|
||||
LimitNOFILE=8192
|
||||
Type=simple
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/bin/salt-api
|
||||
KillMode=process
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,13 +3,10 @@ Description=The Salt Master daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-master
|
||||
LimitNOFILE=16384
|
||||
Type=simple
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/bin/salt-master
|
||||
KillMode=process
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,12 +3,10 @@ Description=The Salt Minion daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-minion
|
||||
Type=simple
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
KillMode=process
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,11 +3,10 @@ Description=The Salt Syndic daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-syndic
|
||||
Type=simple
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-syndic
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -4,6 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-api
|
||||
TimeoutStopSec=3
|
||||
|
|
|
@ -4,6 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-syndic
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue