add backup-pass
This commit is contained in:
parent
500b5c6f8b
commit
66cacf93ae
2 changed files with 19 additions and 0 deletions
10
user/backup-pass.service
Normal file
10
user/backup-pass.service
Normal 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
9
user/backup-pass.timer
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Periodically run backup-pass
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 22:00:00
|
||||||
|
OnCalendar=*-*-* 10:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Loading…
Add table
Add a link
Reference in a new issue