bundles/systemd-timers: add exclude_from_monitoring
This commit is contained in:
parent
3936e64227
commit
6b27128b6d
2 changed files with 6 additions and 1 deletions
|
@ -17,6 +17,8 @@ Type=oneshot
|
|||
% for command in config['command']:
|
||||
ExecStart=/usr/local/sbin/systemd-timer-monitored ${timer} ${command}
|
||||
% endfor
|
||||
% elif config.get('exclude_from_monitoring', False):
|
||||
ExecStart=${config['command']}
|
||||
% else:
|
||||
ExecStart=/usr/local/sbin/systemd-timer-monitored ${timer} ${config['command']}
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue