mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 21:59:50 +00:00
Reuse verified Nextcloud bundles within 20h before Borg/USB backups
This commit is contained in:
@@ -14,6 +14,9 @@ StateDirectory=atlas-nextcloud-backup
|
||||
StateDirectoryMode=0700
|
||||
ExecStart=/usr/local/sbin/atlas-nextcloud-backup
|
||||
ExecStopPost=/usr/local/sbin/atlas-nextcloud-backup --recover
|
||||
# systemctl set-environment ATLAS_NEXTCLOUD_BACKUP_FORCE=1 makes the next run
|
||||
# ignore the bundle reuse window; unset the variable afterwards.
|
||||
PassEnvironment=ATLAS_NEXTCLOUD_BACKUP_FORCE
|
||||
TimeoutStartSec=3h
|
||||
TimeoutStopSec=5min
|
||||
Nice=10
|
||||
|
||||
Reference in New Issue
Block a user