summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorNicolas Cornu <ncornu@aldebaran.com>2015-09-23 09:45:50 +0200
committerNicolas Cornu <ncornu@aldebaran.com>2015-09-23 09:45:50 +0200
commit602b83559a7cfcd3eee05bbdb5518830752a2667 (patch)
tree78786e0b36dd06263329bd96c3f9ead454d51ef2 /src/shared
parentf98f4ace4df1b67572a5fbb3b1924b303d77d773 (diff)
Hook more properties for transient units
systemd-run can now launch units with WorkingDirectory, RootDirectory set.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index fdf41cec19..16b17c2c82 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -1492,7 +1492,8 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
"User", "Group", "DevicePolicy", "KillMode",
"UtmpIdentifier", "UtmpMode", "PAMName", "TTYPath",
"StandardInput", "StandardOutput", "StandardError",
- "Description", "Slice", "Type"))
+ "Description", "Slice", "Type", "WorkingDirectory",
+ "RootDirectory"))
r = sd_bus_message_append(m, "v", "s", eq);
else if (streq(field, "DeviceAllow")) {