mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-16 06:07:05 +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
|
||||
group: root
|
||||
|
||||
- name: Ubuntu | Add capabilities to bind ports
|
||||
- name: Ubuntu | Add custom requirements to successfully start the unit
|
||||
copy:
|
||||
dest: /etc/systemd/system/dnscrypt-proxy.service.d/99-capabilities.conf
|
||||
dest: /etc/systemd/system/dnscrypt-proxy.service.d/99-algo.conf
|
||||
content: |
|
||||
[Unit]
|
||||
After=systemd-resolved.service
|
||||
Requires=systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
notify:
|
||||
|
|
Loading…
Add table
Reference in a new issue