summaryrefslogtreecommitdiff
path: root/src/core/timer.c
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-12-09 00:03:53 +0900
committerLennart Poettering <lennart@poettering.net>2014-12-08 16:28:56 +0100
commitd8a812d168971ef2a03bbf3d1cc5e9911f942264 (patch)
treee623a6e8d7afc5ff2430f44b54a13a4f67f1668d /src/core/timer.c
parentab31f6b8713d43354c3716ee4c37fe4460db9254 (diff)
timer: timer can be a transient unit
Diffstat (limited to 'src/core/timer.c')
-rw-r--r--src/core/timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index 9155dfc81f..309852aae6 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -748,6 +748,7 @@ const UnitVTable timer_vtable = {
"Unit\0"
"Timer\0"
"Install\0",
+ .private_section = "Timer",
.init = timer_init,
.done = timer_done,
@@ -773,4 +774,7 @@ const UnitVTable timer_vtable = {
.bus_interface = "org.freedesktop.systemd1.Timer",
.bus_vtable = bus_timer_vtable,
+ .bus_set_property = bus_timer_set_property,
+
+ .can_transient = true,
};