core/path: implement transient path unit

This commit is contained in:
Yu Watanabe
2017-12-15 09:10:34 +09:00
parent 1e3b7b0ec8
commit 5b9fbf8989
3 changed files with 128 additions and 1 deletions
+5 -1
View File
@@ -772,6 +772,9 @@ const UnitVTable path_vtable = {
"Unit\0"
"Path\0"
"Install\0",
.private_section = "Path",
.can_transient = true,
.init = path_init,
.done = path_done,
@@ -794,5 +797,6 @@ const UnitVTable path_vtable = {
.reset_failed = path_reset_failed,
.bus_vtable = bus_path_vtable
.bus_vtable = bus_path_vtable,
.bus_set_property = bus_path_set_property,
};