monkey patch problematic dnscrypt-proxy cgroup limits (#894)

This commit is contained in:
Dan Guido 2018-04-25 15:32:50 -07:00 committed by GitHub
parent 36f0e30930
commit 12d0365b0a

View file

@ -35,14 +35,14 @@
owner: root
group: root
- name: Ubuntu | Setup the cgroup limitations for dnscrypt-proxy
copy:
dest: /etc/systemd/system/dnscrypt-proxy.service.d/100-CustomLimitations.conf
content: |
[Service]
MemoryLimit=16777216
CPUAccounting=true
CPUQuota=5%
notify:
- daemon-reload
- restart dnscrypt-proxy
#- name: Ubuntu | Setup the cgroup limitations for dnscrypt-proxy
# copy:
# dest: /etc/systemd/system/dnscrypt-proxy.service.d/100-CustomLimitations.conf
# content: |
# [Service]
# MemoryLimit=16777216
# CPUAccounting=true
# CPUQuota=5%
# notify:
# - daemon-reload
# - restart dnscrypt-proxy