summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-25 18:50:44 +0200
committerTom Gundersen <teg@jklm.no>2015-08-25 18:50:44 +0200
commit33c1c9745ccc478c8eda72f8bae76945487076ae (patch)
tree9fd5eec5d3fc7c97c6f1b39f4c5d84cb0c1693a2 /src/shared/bus-util.c
parent498fb56739a5d18cb85d2ba3523759b1d141d770 (diff)
parent8bed4cbcc0d1bfc923ab98fbfc9dd15c3cff5934 (diff)
Merge pull request #1033 from poettering/machine-fixes
misc machine fixes
Diffstat (limited to 'src/shared/bus-util.c')
-rw-r--r--src/shared/bus-util.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 0df0594ea3..1bcb8903f3 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -1382,7 +1382,8 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
if (STR_IN_SET(field,
"CPUAccounting", "MemoryAccounting", "BlockIOAccounting",
- "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies")) {
+ "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies",
+ "IgnoreSIGPIPE", "TTYVHangup", "TTYReset", "RemainAfterExit")) {
r = parse_boolean(eq);
if (r < 0) {
@@ -1414,7 +1415,11 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
r = sd_bus_message_append(m, "v", "t", u);
- } else if (STR_IN_SET(field, "User", "Group", "DevicePolicy", "KillMode"))
+ } else if (STR_IN_SET(field,
+ "User", "Group", "DevicePolicy", "KillMode",
+ "UtmpIdentifier", "UtmpMode", "PAMName", "TTYPath",
+ "StandardInput", "StandardOutput", "StandardError",
+ "Description", "Slice", "Type"))
r = sd_bus_message_append(m, "v", "s", eq);
else if (streq(field, "DeviceAllow")) {