summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-17 20:13:36 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-17 20:48:23 +0100
commit3e0c30ac56269c6fe7b6c0105e7ad826a27d21c6 (patch)
tree86910d551dad425c918de2a4534a8a51342f92da /man
parentdf446f96031e281ed676052ccdede0c774cb1e0c (diff)
core: add RemainAfterElapse= setting to timer units
Previously, after a timer unit elapsed we'd leave it around for good, which has the nice benefit that starting a timer that shall trigger at a specific point in time multiple times will only result in one trigger instead of possibly many. With this change a new option RemainAfterElapse= is added. It defaults to "true", to mimic the old behaviour. If set to "false" timer units will be unloaded after they elapsed. This is specifically useful for transient timer units.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.timer.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
index 8cf6c4683b..3841588820 100644
--- a/man/systemd.timer.xml
+++ b/man/systemd.timer.xml
@@ -243,6 +243,15 @@
again after any work that is to be done is finished. Defaults
to <varname>false</varname>.</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>RemainAfterExit=</varname></term>
+
+ <listitem><para>Takes a boolean argument. If true, an elapsed
+ timer will stay loaded, and its state remains
+ queriable. Defaults to
+ <varname>yes</varname>.</para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>