mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
systemd: Remove usage limits
My processes are stable anyway Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
0407b5e386
commit
00463512d6
7 changed files with 0 additions and 28 deletions
|
@ -24,10 +24,6 @@ ReadWriteDirectories=/etc/ssl/caddy
|
||||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
CPUWeight=10
|
|
||||||
CPUQuota=10%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -12,10 +12,6 @@ User=caddy
|
||||||
Group=caddy
|
Group=caddy
|
||||||
ExecStart=/usr/local/bin/daas
|
ExecStart=/usr/local/bin/daas
|
||||||
Restart=always
|
Restart=always
|
||||||
CPUWeight=2
|
|
||||||
CPUQuota=2%
|
|
||||||
IOWeight=2
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -17,10 +17,6 @@ Restart=always
|
||||||
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
|
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
|
||||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
CPUWeight=20
|
|
||||||
CPUQuota=25%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -16,10 +16,6 @@ TimeoutStopSec=5s
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
CPUWeight=10
|
|
||||||
CPUQuota=10%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -16,10 +16,6 @@ TimeoutStopSec=5s
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
CPUWeight=10
|
|
||||||
CPUQuota=10%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -15,10 +15,6 @@ TimeoutStopSec=5s
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
PrivateDevices=false
|
PrivateDevices=false
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
CPUWeight=10
|
|
||||||
CPUQuota=10%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -15,10 +15,6 @@ TimeoutStopSec=5s
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
PrivateDevices=false
|
PrivateDevices=false
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
CPUWeight=10
|
|
||||||
CPUQuota=10%
|
|
||||||
IOWeight=20
|
|
||||||
MemorySwapMax=1
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue