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 c82bd8c5ff
commit c276f971b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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