mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
monkey patch problematic dnscrypt-proxy cgroup limits (#894)
This commit is contained in:
parent
c82bd8c5ff
commit
c276f971b7
1 changed files with 11 additions and 11 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue