Use simpler file structure

This commit is contained in:
Sonny Bakker 2021-01-29 20:56:23 +01:00
parent 8ea9414418
commit e8cb486c8f
96 changed files with 1001 additions and 436 deletions

View 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=daily.target
#
# Or symlink the unit file to the daily.target.wants directory manually
[Unit]
Description=Daily timer target
Requires=multi-user.target

View file

@ -0,0 +1,13 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
#
[Unit]
Description=Timer which runs all services on a daily basis inside the daily.target.wants directory
[Timer]
OnCalendar=daily
Unit=daily.target
Persistent=true
[Install]
WantedBy=timers.target

View 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

View file

@ -0,0 +1,13 @@
# {{ 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