On Wed, Nov 20, 2024 at 05:35:58PM +0100, Jean-François Bachelet wrote:
[cut]

'systemctl status fwlogwatch.service' :


fwlogwatch.service - Firewall log analyzer
     Loaded: loaded (/lib/systemd/system/fwlogwatch.service; enabled; preset: enabled)      Active: failed (Result: exit-code) since Wed 2024-11-20 17:02:18 CET; 1min 27s ago
       Docs: man:fwlogwatch
    Process: 294164 ExecStart=/bin/sh -c if [ "x${START_DAEMON}" != "xtrue" ]; then echo "aborted"; exit 1; fi;    exec /usr/sbin/fwlogwatch -c /etc/fwlogwatch/fwlogwatch.config -R ${PARAMS} (code=exited, status=1/FAILURE)
        CPU: 16ms

nov. 20 17:02:18 deb systemd[1]: Starting fwlogwatch.service - Firewall log analyzer...
nov. 20 17:02:18 deb sh[294164]: aborted
nov. 20 17:02:18 deb systemd[1]: fwlogwatch.service: Control process exited, code=exited, status=1/FAILURE nov. 20 17:02:18 deb systemd[1]: fwlogwatch.service: Failed with result 'exit-code'. nov. 20 17:02:18 deb systemd[1]: Failed to start fwlogwatch.service - Firewall log analyzer.

I might be reading this wrong, but the "ExecStart" command is a shell script which basically says "if the $START_DAEMON variable does not equal 'true', then echo 'aborted' and stop". Given you get sh printing the word 'aborted', I think you're reading that branch.

Did you set "START_DAEMON=true" in /etc/default/fwlogwatch or similar?

--
For more information, please reread.

Attachment: signature.asc
Description: PGP signature

Reply via email to