Add daily/weekly systemd timer setup
This commit is contained in:
parent
0e78c4a642
commit
636019283f
7 changed files with 104 additions and 2 deletions
10
roles/arch/templates/timer/weekly_target.j2
Normal file
10
roles/arch/templates/timer/weekly_target.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
#
|
||||
# Add the following to your service unit to make use of this target:
|
||||
# Wants=weekly.target
|
||||
#
|
||||
# Or symlink the unit file to the weekly.target.wants directory manually
|
||||
|
||||
[Unit]
|
||||
Description=Weekly timer target
|
||||
Requires=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue