timer: timer can be a transient unit

This commit is contained in:
WaLyong Cho
2014-12-08 16:28:56 +01:00
committed by Lennart Poettering
parent ab31f6b871
commit d8a812d168
3 changed files with 150 additions and 0 deletions
+4
View File
@@ -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,
};