From: Vsevolod Stakhov Date: Thu, 20 Feb 2014 16:37:52 +0000 (+0000) Subject: Set flag for systemd sockets definitions. X-Git-Tag: 0.7.0~393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1170f7ae3d4444342810e4a7da3aef4f33921103;p=thirdparty%2Frspamd.git Set flag for systemd sockets definitions. --- diff --git a/src/cfg_utils.c b/src/cfg_utils.c index dbd4f0f83f..020a70ae61 100644 --- a/src/cfg_utils.c +++ b/src/cfg_utils.c @@ -242,6 +242,7 @@ parse_bind_line (struct config_file *cfg, struct worker_conf *cf, const gchar *s /* The actual socket will be passed by systemd environment */ cnf->bind_host = memory_pool_strdup (cfg->cfg_pool, str); cnf->ai = strtoul (tokens[1], &err, 10); + cnf->is_systemd = TRUE; if (err == NULL || *err == '\0') { LL_PREPEND (cf->bind_conf, cnf); }