summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 16:25:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 16:27:24 +0200
commitdf1f0afe0c0d044a42ee726fa03730291d7082ee (patch)
treeec9aba0611608c2666aabac5ebc1b41b1c2508bd /src/load-fragment.c
parent0213c3f8102bdc934c629d11a44ca0b408762287 (diff)
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 94a637541f..f409776e88 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1391,7 +1391,8 @@ static int load_from_path(Unit *u, const char *path) {
{ "ReadOnlyDirectories", config_parse_path_strv, &(context).read_only_dirs, section }, \
{ "InaccessibleDirectories",config_parse_path_strv, &(context).inaccessible_dirs, section }, \
{ "PrivateTmp", config_parse_bool, &(context).private_tmp, section }, \
- { "MountFlags", config_parse_mount_flags, &(context), section }
+ { "MountFlags", config_parse_mount_flags, &(context), section }, \
+ { "TCPWrapName", config_parse_string, &(context).tcpwrap_name, section }
const ConfigItem items[] = {
{ "Names", config_parse_names, u, "Unit" },
@@ -1444,7 +1445,6 @@ static int load_from_path(Unit *u, const char *path) {
{ "SocketMode", config_parse_mode, &u->socket.socket_mode, "Socket" },
{ "KillMode", config_parse_kill_mode, &u->socket.kill_mode, "Socket" },
{ "Accept", config_parse_bool, &u->socket.accept, "Socket" },
- { "TCPWrapName", config_parse_string, &u->socket.tcpwrap_name, "Socket" },
EXEC_CONTEXT_CONFIG_ITEMS(u->socket.exec_context, "Socket"),
{ "What", config_parse_string, &u->mount.parameters_fragment.what, "Mount" },