oetiker / mrtg

MRTG - Multi Router Traffic Grapher
http://www.mrtg.org
243 stars 60 forks source link

MRTG always ends with ERROR #76

Open eribertomota opened 2 years ago

eribertomota commented 2 years ago

Dear @oetiker,

After a 'kill ' MRTG ends with ERROR. From the log:

2021-10-27 14:14:56 -- 2021-10-27 14:10:11: ERROR: Bailout after SIG TERM

From systemctl status (Debian Sid, MRTG 2.17.8+git20211022.f52e91e):

out 27 14:14:56 debian-sid systemd[1]: mrtg.service: Main process exited, code=exited, status=1/FAILURE
out 27 14:14:56 debian-sid systemd[1]: mrtg.service: Failed with result 'exit-code'.

This behavior is a bit odd, because kill command is sending SIG TERM. Any program must graceful stop after a SIG TERM.

Thanks for your attention and nice work.

Regards,

Eriberto