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