mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29461 from dmyerscough/fix-resource-limits
Fix resource limits, systemd sets the default too small
This commit is contained in:
commit
e43c7c05a6
2 changed files with 4 additions and 0 deletions
|
@ -3,8 +3,11 @@ Description=The Salt Master Server
|
|||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=16384
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStart=/usr/bin/salt-master
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -4,6 +4,7 @@ After=syslog.target network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
KillMode=process
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue