|
[Unit]
|
|
Description=Timer for {{ item.name }}.
|
|
|
|
[Timer]
|
|
{% if item.type == "intervalbased" %}
|
|
OnBootSec=5m
|
|
OnUnitInactiveSec={{ item.interval }}
|
|
{% else %}
|
|
OnCalendar={{ item.calendar }}
|
|
{% endif %}
|
|
Unit={{ item.name }}.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|
|
|