1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

added backup timer

This commit is contained in:
eoli3n 2020-05-13 18:27:32 +02:00
parent fd740efb86
commit 30d1610aba
2 changed files with 14 additions and 0 deletions

@ -0,0 +1,9 @@
[Unit]
Description=Backup dayly
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target

@ -9,3 +9,8 @@
src: backup.sh.secret
dest: /root/scripts/backup.sh
mode: 0700
- name: copy backup timer
copy:
src: backup.timer
dest: /etc/systemd/system/