systemd: Remove usage limits

My processes are stable anyway

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-10-03 00:01:24 +05:30
parent 0407b5e386
commit 00463512d6
No known key found for this signature in database
GPG Key ID: C2E74282C2133D62
7 changed files with 0 additions and 28 deletions

View File

@ -24,10 +24,6 @@ ReadWriteDirectories=/etc/ssl/caddy
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
CPUWeight=10
CPUQuota=10%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -12,10 +12,6 @@ User=caddy
Group=caddy
ExecStart=/usr/local/bin/daas
Restart=always
CPUWeight=2
CPUQuota=2%
IOWeight=2
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -17,10 +17,6 @@ Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
CPUWeight=20
CPUQuota=25%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -16,10 +16,6 @@ TimeoutStopSec=5s
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
CPUWeight=10
CPUQuota=10%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -16,10 +16,6 @@ TimeoutStopSec=5s
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
CPUWeight=10
CPUQuota=10%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -15,10 +15,6 @@ TimeoutStopSec=5s
PrivateTmp=true
PrivateDevices=false
ProtectSystem=full
CPUWeight=10
CPUQuota=10%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target

View File

@ -15,10 +15,6 @@ TimeoutStopSec=5s
PrivateTmp=true
PrivateDevices=false
ProtectSystem=full
CPUWeight=10
CPUQuota=10%
IOWeight=20
MemorySwapMax=1
[Install]
WantedBy=multi-user.target