remove useless log, fix unit

This commit is contained in:
Thibault bui Koechlin 2020-06-18 15:34:46 +02:00
parent 4ef9abbcab
commit 826fdeb2c2
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,7 @@ PIDFile=${PID}/crowdsec.pid
#ExecStartPre=${BIN} -c ${CFG}/default.yaml -t
ExecStart=${BIN} -c ${CFG}/default.yaml
ExecStartPost=/bin/sleep 0.1
ExecReload=/bin/kill -HUP \$MAINPID
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View file

@ -195,7 +195,6 @@ func LeakRoutine(l *Leaky) {
}
l.logger.Debugf("Leaky routine starting, lifetime : %s", l.Duration)
defer l.logger.Infof("Leaky routine exiting") //to remove
for {
select {
/*receiving an event*/