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,5 +1,7 @@
|
|||||||
[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
|
||||||
|
|||||||
Reference in New Issue
Block a user