projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0c30a
)
run: automatically clean up transient timers created by systemd-run
author
Lennart Poettering
<lennart@poettering.net>
Tue, 17 Nov 2015 19:38:12 +0000
(20:38 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 17 Nov 2015 19:50:21 +0000
(20:50 +0100)
src/run/run.c
patch
|
blob
|
history
diff --git
a/src/run/run.c
b/src/run/run.c
index
9f096b7
..
e1accc4
100644
(file)
--- a/
src/run/run.c
+++ b/
src/run/run.c
@@
-648,6
+648,11
@@
static int transient_timer_set_properties(sd_bus_message *m) {
if (r < 0)
return r;
+ /* Automatically clean up our transient timers */
+ r = sd_bus_message_append(m, "(sv)", "RemainAfterElapse", "b", false);
+ if (r < 0)
+ return r;
+
if (arg_on_active) {
r = sd_bus_message_append(m, "(sv)", "OnActiveSec", "t", arg_on_active);
if (r < 0)