mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove EnvironmentFile and Restart lines from unit files
These shouldn't be there, because the variables sourced by the EnvironmentFile are only made available to the Exec commands in the unit file.
This commit is contained in:
parent
ddd44e9b13
commit
0ccf789172
4 changed files with 0 additions and 8 deletions
|
@ -3,12 +3,10 @@ Description=REST API for Salt
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-api
|
||||
LimitNOFILE=8192
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/bin/salt-api
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,12 +3,10 @@ Description=The Salt Master daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-master
|
||||
LimitNOFILE=16384
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/bin/salt-master
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,11 +3,9 @@ Description=The Salt Minion daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-minion
|
||||
Type=notify
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,11 +3,9 @@ Description=The Salt Syndic daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/salt-syndic
|
||||
Type=notify
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-syndic
|
||||
Restart=$RESTART
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Reference in a new issue