diff --git a/cmd/crowdsec/serve.go b/cmd/crowdsec/serve.go index 5d365b410d7..2efb14613fb 100644 --- a/cmd/crowdsec/serve.go +++ b/cmd/crowdsec/serve.go @@ -344,7 +344,7 @@ func Serve(cConfig *csconfig.Config, apiReady chan bool, agentReady chan bool) e } if flags.TestMode { - log.Infof("test done") + log.Infof("Configuration test done") pluginBroker.Kill() os.Exit(0) } diff --git a/config/crowdsec.service b/config/crowdsec.service index 0897e1b5091..147cae4946e 100644 --- a/config/crowdsec.service +++ b/config/crowdsec.service @@ -5,7 +5,7 @@ After=syslog.target network.target remote-fs.target nss-lookup.target [Service] Type=notify Environment=LC_ALL=C LANG=C -ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t +ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error ExecStart=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml #ExecStartPost=/bin/sleep 0.1 ExecReload=/bin/kill -HUP $MAINPID