diff options
Diffstat (limited to 'daemon/unbound.c')
-rw-r--r-- | daemon/unbound.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/unbound.c b/daemon/unbound.c index df95042549228..ba7337d8907ad 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -264,6 +264,11 @@ apply_settings(struct daemon* daemon, struct config_file* cfg, } daemon_apply_cfg(daemon, cfg); checkrlimits(cfg); + + if (cfg->use_systemd && cfg->do_daemonize) { + log_warn("use-systemd and do-daemonize should not be enabled at the same time"); + } + log_ident_set_fromdefault(cfg, log_default_identity); } |