mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
load-fragment: make socket timeout configurable
This commit is contained in:
parent
b778d55514
commit
108736d0d3
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user