From 3e0c30ac56269c6fe7b6c0105e7ad826a27d21c6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Nov 2015 20:13:36 +0100 Subject: 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. --- man/systemd.timer.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man') 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 false. + + + RemainAfterExit= + + Takes a boolean argument. If true, an elapsed + timer will stay loaded, and its state remains + queriable. Defaults to + yes. + -- cgit v1.2.3-54-g00ecf