From 70b4f8197008e04f7b4f12cead3f616db5cbba3c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 18 Nov 2015 12:18:27 +0100 Subject: [PATCH] man: improve and fix documentation for RemainAfterElapse= --- man/systemd.timer.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml index 3841588820..5826773a99 100644 --- a/man/systemd.timer.xml +++ b/man/systemd.timer.xml @@ -245,11 +245,20 @@ - RemainAfterExit= + RemainAfterElapse= Takes a boolean argument. If true, an elapsed - timer will stay loaded, and its state remains - queriable. Defaults to + timer will stay loaded, and its state remains queriable. If + false, an elapsed timer unit that cannot elapse anymore is + unloaded. Turning this off is particularly useful for + transient timer units that shall disappear after they first + elapse. Note that this setting has an effect on repeatedly + starting the a timer unit that only elapses once: if + RemainAfterElapse= is on, it will not be + started again, and is guaranteed to elapse only once. However, + if RemainAfterLeapse= is off, it might be + started again if it is already elapsed, and thus be triggered + multiple times. Defaults to yes.