Use path variables for Unbound. Changes #31
This commit is contained in:
parent
53f05a7071
commit
50a3a3d270
2 changed files with 4 additions and 4 deletions
|
@ -5,10 +5,10 @@
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
- name: Reload unbound
|
- name: Reload unbound
|
||||||
command: s6-svc -h /run/service/unbound
|
command: s6-svc -h {{ s6_scan_dir }}/unbound
|
||||||
|
|
||||||
- name: Restart unbound
|
- name: Restart unbound
|
||||||
command: s6-svc -wR -T 5000 -ru /run/service/unbound
|
command: s6-svc -wR -T 5000 -ru {{ s6_scan_dir }}/unbound
|
||||||
|
|
||||||
- name: Restart unbound log
|
- name: Restart unbound log
|
||||||
command: s6-svc -wR -T 5000 -ru /run/service/unbound-log
|
command: s6-svc -wR -T 5000 -ru {{ s6_scan_dir }}/unbound-log
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: Start unbound
|
- name: Start unbound
|
||||||
command: fdmove -c 2 1 s6-rc -u -v 2 -t 15000 change unbound
|
command: fdmove -c 2 1 s6-rc -l {{ s6_live_dir }} -u -v 2 -t 15000 change unbound
|
||||||
register: change
|
register: change
|
||||||
changed_when: change.stdout | length > 0
|
changed_when: change.stdout | length > 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue