diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-20 16:37:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-20 16:37:52 +0000 |
commit | 1170f7ae3d4444342810e4a7da3aef4f33921103 (patch) | |
tree | cec009cd9ee4eed6b1548a801dbade148f054e3d | |
parent | 4098c23060bcf75ecf2662be5a7edc21da93c794 (diff) | |
download | rspamd-1170f7ae3d4444342810e4a7da3aef4f33921103.tar.gz rspamd-1170f7ae3d4444342810e4a7da3aef4f33921103.zip |
Set flag for systemd sockets definitions.
-rw-r--r-- | src/cfg_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c index dbd4f0f83..020a70ae6 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); } |