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

View File

@@ -1,5 +1,7 @@
[Unit]
Description=Backup with restic on schedule
Requires=unmetered-connection.service
After=unmetered-connection.service
[Timer]
OnCalendar=daily

View File

@@ -1,9 +1,11 @@
[Unit]
Description=Check restic backup Backblaze B2 for errors on a schedule
Requires=unmetered-connection.service
After=unmetered-connection.service
[Timer]
OnCalendar=monthly
Persistent=true
[Install]
WantedBy=timers.target
WantedBy=timers.target