Start dnscrypt-proxy after systemd-resolved

This commit is contained in:
Jack Ivanov 2019-03-13 12:51:56 +01:00
parent 3428c5197e
commit 143dff67fb

View file

@ -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: