From: Lennart Poettering Date: Sat, 10 Apr 2010 15:50:54 +0000 (+0200) Subject: load-fragment: make socket timeout configurable X-Git-Tag: 0.git+20100605+dfd8ee-1~162 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108736d0d34d7b74a61a6ac7b99d4d4fec81ce09;p=systemd load-fragment: make socket timeout configurable --- diff --git a/load-fragment.c b/load-fragment.c index 353a086d..1a6ae98e 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" },