add backup-pass

This commit is contained in:
Ray Elliott 2020-09-01 17:28:53 +01:00
parent 500b5c6f8b
commit 66cacf93ae
2 changed files with 19 additions and 0 deletions

10
user/backup-pass.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Backup kdbx password files
[Service]
WorkingDirectory=/home/ray/.Sync/Pass/
ExecStart=/home/ray/.Sync/Pass/backup.sh
[Install]
WantedBy=default.target

9
user/backup-pass.timer Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Periodically run backup-pass
[Timer]
OnCalendar=*-*-* 22:00:00
OnCalendar=*-*-* 10:00:00
[Install]
WantedBy=timers.target