mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 12:57:00 +05:30
systemd: Bump Swap limit to 1
systemd now ignores 0 values for these. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
8ba47a1796
commit
2b41b88b44
7 changed files with 7 additions and 7 deletions
|
@ -27,7 +27,7 @@ NoNewPrivileges=true
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -20,7 +20,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
CPUWeight=20
|
CPUWeight=20
|
||||||
CPUQuota=25%
|
CPUQuota=25%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -19,7 +19,7 @@ ProtectSystem=full
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -19,7 +19,7 @@ ProtectSystem=full
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -18,7 +18,7 @@ ProtectSystem=full
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -18,7 +18,7 @@ ProtectSystem=full
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -18,7 +18,7 @@ ProtectSystem=full
|
||||||
CPUWeight=10
|
CPUWeight=10
|
||||||
CPUQuota=10%
|
CPUQuota=10%
|
||||||
IOWeight=20
|
IOWeight=20
|
||||||
MemorySwapMax=0
|
MemorySwapMax=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue