diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2014-12-09 00:03:53 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-08 16:28:56 +0100 |
commit | d8a812d168971ef2a03bbf3d1cc5e9911f942264 (patch) | |
tree | e623a6e8d7afc5ff2430f44b54a13a4f67f1668d /src/core/timer.c | |
parent | ab31f6b8713d43354c3716ee4c37fe4460db9254 (diff) |
timer: timer can be a transient unit
Diffstat (limited to 'src/core/timer.c')
-rw-r--r-- | src/core/timer.c | 4 |
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, }; |