fix(backup-lvm): ExecStopPost command using bash syntax
This cannot be used in a systemd exec command. Ooopsie
This commit is contained in:
parent
7d1e804ef1
commit
43535443c2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ ExecStopPost=/usr/bin/docker rm --force duplicity-backup-lvm
|
|||
|
||||
# Unmount snapshots
|
||||
{% for item in lvm_self_backup_vols %}
|
||||
ExecStopPost=/usr/bin/umount /dev/{{ item.vg_name }}/{{ item.lv_name }}_snap || true
|
||||
ExecStopPost=/usr/bin/umount /dev/{{ item.vg_name }}/{{ item.lv_name }}_snap
|
||||
{% endfor %}
|
||||
|
||||
# Remove snapshots
|
||||
|
|
Loading…
Add table
Reference in a new issue