Use path variables for restic. Changes #31

This commit is contained in:
Crest 2022-07-04 02:55:56 +02:00
parent b00f1a4c44
commit e7eeb4039a
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
state: reloaded state: reloaded
- name: Restart restic - name: Restart restic
command: s6-svc -wU -T 5000 -ru /run/service/restic command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/restic
- name: Restart restic-log - name: Restart restic-log
command: s6-svc -wU -T 5000 -ru /run/service/restic-log command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/restic-log

View file

@ -53,7 +53,7 @@
meta: flush_handlers meta: flush_handlers
- name: Start restic renew service - name: Start restic renew service
command: fdmove -c 2 1 s6-rc -u -v 2 change restic command: fdmove -c 2 1 s6-rc -l {{ s6_live_dir }} -u -v 2 change restic
register: change register: change
changed_when: change.stdout | length > 0 changed_when: change.stdout | length > 0