diff options
author | Michael Chapman <mike@very.puzzling.org> | 2014-11-06 19:47:02 +1100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-07 01:19:56 +0100 |
commit | 779042e772d2459f7649b34a164902dc456f1bab (patch) | |
tree | 2517a9ea6c2416ebd294049b9b9b16c78536c16d /src/core/unit.c | |
parent | f32d2db140150b9d38684a699c9875b6e24ca27c (diff) |
timer: reenable TIMER_ACTIVE timers when restarted
A timer configured with OnActiveSec will start its associated unit again
if the timer is stopped, then started. However, if the timer unit is
restarted -- with "systemctl restart", say -- this does not occur.
This commit ensures that TIMER_ACTIVE timers are re-enabled whenever the
timer is started, even if that's within a restart job.
Diffstat (limited to 'src/core/unit.c')
0 files changed, 0 insertions, 0 deletions