mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
added backup timer
This commit is contained in:
parent
fd740efb86
commit
30d1610aba
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user