summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-10-09 12:17:41 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-10-09 12:17:41 +0000
commit047d99337f2e32cf6fc88bf415d4a3ed2a286539 (patch)
tree1a5de1c1c05f809ecd2826b3c71c402616d9bfd3 /src/core
parent3a3f71e5f09073552dd9b0de2058d8894e1bb4f9 (diff)
systemd-run can now launch units with SyslogLevelPrefix
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-execute.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index adf613d328..f902fd6f2d 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -998,7 +998,7 @@ int bus_exec_context_set_transient_property(
} else if (STR_IN_SET(name,
"IgnoreSIGPIPE", "TTYVHangup", "TTYReset",
"PrivateTmp", "PrivateDevices", "PrivateNetwork",
- "NoNewPrivileges")) {
+ "NoNewPrivileges", "SyslogLevelPrefix")) {
int b;
r = sd_bus_message_read(message, "b", &b);
@@ -1020,6 +1020,8 @@ int bus_exec_context_set_transient_property(
c->private_network = b;
else if (streq(name, "NoNewPrivileges"))
c->no_new_privileges = b;
+ else if (streq(name, "SyslogLevelPrefix"))
+ c->syslog_level_prefix = b;
unit_write_drop_in_private_format(u, mode, name, "%s=%s\n", name, yes_no(b));
}