Add requires to unmetered-connection.service
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[Unit]
|
||||
Description=Backup with restic on schedule
|
||||
Requires=unmetered-connection.service
|
||||
After=unmetered-connection.service
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user