mmetc
mmetc
This removes the debug line "systemd not available" but I verified that the function is called and it's a no-op outside systemd. TODO: WATCHDOG_USEC, signal READY after reload
This started as https://github.com/crowdsecurity/crowdsec/pull/2213 by @cyberb but I refactored some parts first, as a consequence I could not keep a clean commit history of his contribution, of which I am...
...to avoid port conflict warning, also change "acquisition is finished" to Info
This also disables prometheus metrics in one shot mode because in most cases the port is already taken by LAPI. Should work for all datasources, but tested only with files....