mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +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
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue