summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 17:50:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:34 +0200
commit108736d0d34d7b74a61a6ac7b99d4d4fec81ce09 (patch)
tree04c713e7058944ab822917c5d977b4f8b9afdf33
parentb778d55514dd5ebee86c41be1193c813f9d23f29 (diff)
load-fragment: make socket timeout configurable
-rw-r--r--load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/load-fragment.c b/load-fragment.c
index 353a086d04..1a6ae98e37 100644
--- a/load-fragment.c
+++ b/load-fragment.c
@@ -1217,6 +1217,7 @@ static int load_from_path(Unit *u, const char *path, UnitLoadState *new_state) {
{ "ExecStartPost", config_parse_exec, u->socket.exec_command+SOCKET_EXEC_START_POST, "Socket" },
{ "ExecStopPre", config_parse_exec, u->socket.exec_command+SOCKET_EXEC_STOP_PRE, "Socket" },
{ "ExecStopPost", config_parse_exec, u->socket.exec_command+SOCKET_EXEC_STOP_POST, "Socket" },
+ { "TimeoutSec", config_parse_usec, &u->socket.timeout_usec, "Socket" },
{ "DirectoryMode", config_parse_mode, &u->socket.directory_mode, "Socket" },
{ "SocketMode", config_parse_mode, &u->socket.socket_mode, "Socket" },
{ "KillMode", config_parse_kill_mode, &u->socket.kill_mode, "Socket" },