Fix forgottent .service in OnFailure directive
parent
4efc61d494
commit
b154f59aa3
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Back up chosty's documents
|
Description=Back up chosty's documents
|
||||||
OnFailure=notify-backup-failure
|
OnFailure=notify-backup-failure.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Backup OVH
|
Description=Backup OVH
|
||||||
OnFailure=notify-backup-failure
|
OnFailure=notify-backup-failure.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/home/.config/backup/rsync/rsync_snapshot.sh 51.75.250.228
|
ExecStart=/home/.config/backup/rsync/rsync_snapshot.sh 51.75.250.228
|
||||||
|
|
Loading…
Reference in New Issue