diff --git a/user/backup-pass.service b/user/backup-pass.service new file mode 100644 index 0000000..e26e634 --- /dev/null +++ b/user/backup-pass.service @@ -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 + diff --git a/user/backup-pass.timer b/user/backup-pass.timer new file mode 100644 index 0000000..a532888 --- /dev/null +++ b/user/backup-pass.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Periodically run backup-pass + +[Timer] +OnCalendar=*-*-* 22:00:00 +OnCalendar=*-*-* 10:00:00 + +[Install] +WantedBy=timers.target