add bundle:systemd-timers
This commit is contained in:
parent
2a3a26c333
commit
0599c4dae0
7 changed files with 145 additions and 0 deletions
13
bundles/systemd-timers/files/template.timer
Normal file
13
bundles/systemd-timers/files/template.timer
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Timer for Service ${timer}
|
||||
|
||||
[Timer]
|
||||
OnCalendar=${config['when']}
|
||||
% if config.get('persistent', True):
|
||||
Persistent=true
|
||||
% else:
|
||||
Persistent=false
|
||||
% endif
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue