Add backup service and timer
parent
8e0446a16e
commit
f6cc5c142d
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Does a backup
|
||||
|
||||
[Service]
|
||||
ExecStart=nu {{dirs.data}}/scripts/backup.nu
|
||||
|
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run daily backups
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue