dnscrypt-server/systemd/dnscrypt-server.slice

12 lines
259 B
SYSTEMD
Raw Normal View History

2021-08-04 01:50:16 +02:00
# 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