diff options
author | Pawel Szewczyk <p.szewczyk@samsung.com> | 2015-09-21 16:30:41 +0200 |
---|---|---|
committer | Pawel Szewczyk <p.szewczyk@samsung.com> | 2015-09-22 12:01:53 +0200 |
commit | 15087cdbd63312f706f21339489daf210ae609d0 (patch) | |
tree | d297ec2750f157a503eddb935c2de48e2d996064 /src/core/load-fragment.c | |
parent | ac2896bab61bd8cd0b8a8b92f8347e2c11a088b5 (diff) |
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.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |