mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 06:33:56 +02:00
Start dnscrypt-proxy after systemd-resolved (#1357)
This commit is contained in:
parent
3428c5197e
commit
4ae5972f94
1 changed files with 6 additions and 2 deletions
|
@ -47,10 +47,14 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
- name: Ubuntu | Add capabilities to bind ports
|
- name: Ubuntu | Add custom requirements to successfully start the unit
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/systemd/system/dnscrypt-proxy.service.d/99-capabilities.conf
|
dest: /etc/systemd/system/dnscrypt-proxy.service.d/99-algo.conf
|
||||||
content: |
|
content: |
|
||||||
|
[Unit]
|
||||||
|
After=systemd-resolved.service
|
||||||
|
Requires=systemd-resolved.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
notify:
|
notify:
|
||||||
|
|
Loading…
Add table
Reference in a new issue