]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
Allow timers to trigger timers (#8043)
authorBoucman <jeremy.rosen@enst-bretagne.fr>
Wed, 14 Feb 2018 13:10:07 +0000 (14:10 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Feb 2018 13:10:07 +0000 (14:10 +0100)
commit49219a1c03641c3cb62adc059a6fa59cfc7f168b
treeb9f9406741d3b133f6b96e79bb40e43e3166786e
parentc83812b1c499a6bd6d801d7b0f36eed6d90eaca3
Allow timers to trigger timers (#8043)

Unlike any other unit type, it makes sense for a timer to start another
timer. It is an easy way to crate logical "and" between time conditions

for instance, every day but no less than 5' after boot can easily be
implemented by a OnBootSec triggering an OnCalendar.

This is particulary usefull with Persistant timers which tend to all fire
together at startup
src/core/load-fragment.c