Add requires to unmetered-connection.service

This commit is contained in:
Todd E Johnson
2019-07-12 21:35:25 -05:00
parent 9a586f183c
commit b4ab2f1a86
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
[Unit] [Unit]
Description=Backup with restic on schedule Description=Backup with restic on schedule
Requires=unmetered-connection.service
After=unmetered-connection.service
[Timer] [Timer]
OnCalendar=daily OnCalendar=daily
+3 -1
View File
@@ -1,9 +1,11 @@
[Unit] [Unit]
Description=Check restic backup Backblaze B2 for errors on a schedule Description=Check restic backup Backblaze B2 for errors on a schedule
Requires=unmetered-connection.service
After=unmetered-connection.service
[Timer] [Timer]
OnCalendar=monthly OnCalendar=monthly
Persistent=true Persistent=true
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target