From 15087cdbd63312f706f21339489daf210ae609d0 Mon Sep 17 00:00:00 2001 From: Pawel Szewczyk Date: Mon, 21 Sep 2015 16:30:41 +0200 Subject: core: Add list of additional file descriptors to socket port Some additional files related to single socket may appear in the filesystem and they should be opened and passed to related service. This commit adds optional list of file descriptors, which are dynamically discovered and opened. --- src/core/load-fragment.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/load-fragment.c') diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index b476d472b3..b8cdde3bff 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -381,6 +381,8 @@ int config_parse_socket_listen(const char *unit, } p->fd = -1; + p->auxiliary_fds = NULL; + p->n_auxiliary_fds = 0; p->socket = s; if (s->ports) { -- cgit v1.2.3-54-g00ecf