Add daily/weekly systemd timer setup
This commit is contained in:
parent
0e78c4a642
commit
636019283f
7 changed files with 104 additions and 2 deletions
12
roles/arch/templates/timer/weekly_timer.j2
Normal file
12
roles/arch/templates/timer/weekly_timer.j2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
#
|
||||
[Unit]
|
||||
Description=Timer which runs all services on a weekly basis inside the weekly.target.wants directory
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
Unit=weekly.target
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue