12 lines
259 B
SYSTEMD
12 lines
259 B
SYSTEMD
|
# dnscrypt-server.slice
|
||
|
[Unit]
|
||
|
Description=Slice that limits the resources available to dnscrypt-server
|
||
|
|
||
|
[Slice]
|
||
|
CPUAccounting=true
|
||
|
# 100% is an equivalent of full utilization on a single core
|
||
|
CPUQuota=60%
|
||
|
MemoryAccounting=true
|
||
|
MemoryHigh=900M
|
||
|
MemoryMax=1.5G
|