add backup-pass
This commit is contained in:
parent
500b5c6f8b
commit
66cacf93ae
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Periodically run backup-pass
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 22:00:00
|
||||||
|
OnCalendar=*-*-* 10:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in New Issue