Add requires to unmetered-connection.service
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user