Use persistent systemd units for autostart
This commit is contained in:
7
autostart/services/restic.service
Normal file
7
autostart/services/restic.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
ConditionEnvironment=MACHINE_HAS_RESTIC_BACKUP=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/bin/restic-backup
|
||||
RemainAfterExit=true
|
||||
Reference in New Issue
Block a user