]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Set flag for systemd sockets definitions.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Feb 2014 16:37:52 +0000 (16:37 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Feb 2014 16:37:52 +0000 (16:37 +0000)
src/cfg_utils.c

index dbd4f0f83fe961a96978ac90b2c7ee8f405fa763..020a70ae61ae8b464cfe8852e1c4e2e4f7220367 100644 (file)
@@ -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);
                }