dnscrypt-server/systemd/dnscrypt-server.slice
2021-08-04 02:33:32 +02:00

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