Remove unused backup service on laptop

master
Quentin Duchemin 2019-11-14 15:39:38 +01:00
parent 6328a92227
commit c59aa04e30
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
3 changed files with 1 additions and 22 deletions

View File

@ -1,7 +0,0 @@
[Unit]
Description=Backup OVH
OnFailure=notify-backup-failure.service
[Service]
Type=oneshot
ExecStart=/home/.config/backup/rsync/rsync_snapshot.sh 51.75.250.228

View File

@ -1,9 +0,0 @@
[Unit]
Description=Backup OVH weekly
[Timer]
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -1,6 +0,0 @@
[Unit]
Description=Send mail on backup failure
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c '{ echo -e "Subject: Backup failed\n\nMachine info :\n" ; hostnamectl ; echo -e "\n\nLogs:\n\n" ; journalctl -n 20 -u backup.service; } | sendmail -F "Quentin Duchemin" -f "desktop@chosty.fr" quentin.duchemin@hds.utc.fr'

View File

@ -0,0 +1 @@
/home/chosty/.config/systemd/notify-backup-failure.service.desk