Fix forgottent .service in OnFailure directive

master
Quentin Duchemin 2019-03-25 23:49:01 +01:00
parent 4efc61d494
commit b154f59aa3
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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