coredns/etc/systemd/system/coredns.slice
2022-10-03 13:44:42 +02:00

17 lines
249 B
SYSTEMD

[Unit]
Description=Slice that limits coredns.service
Before=slices.target
; Wants=network.target
[Slice]
; CPUAccounting=yes
; CPUQuota=5%
MemoryAccounting=yes
MemoryHigh=120M
MemoryMax=128M
MemorySwapMax=64M
[Install]
WantedBy=multi-user.target