bus-unit-util: add socket unit related options

Also, split bus_append_unit_property_assignment().
This commit is contained in:
Yu Watanabe
2017-12-23 18:48:16 +09:00
parent 9c0320e7ab
commit 89ada3ba08
6 changed files with 1092 additions and 986 deletions
+2 -2
View File
@@ -203,7 +203,7 @@ int register_machine(
if (r < 0)
return r;
r = bus_append_unit_property_assignment_many(m, properties);
r = bus_append_unit_property_assignment_many(m, UNIT_SERVICE, properties);
if (r < 0)
return r;
@@ -339,7 +339,7 @@ int allocate_scope(
if (r < 0)
return r;
r = bus_append_unit_property_assignment_many(m, properties);
r = bus_append_unit_property_assignment_many(m, UNIT_SCOPE, properties);
if (r < 0)
return r;