7 lines
345 B
SYSTEMD
7 lines
345 B
SYSTEMD
|
[Unit]
|
||
|
Description=Writes the error for the monitoring to pick the failure up.
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/bash -c 'echo 1337 > {{ lvm_self_backup_status_directory }}/backup.status && chown {{ lvm_self_backup_status_directory_uid }}:{{ lvm_self_backup_status_directory_gid }} {{ lvm_self_backup_status_directory }}/backup.status'
|