[Pkg-nagios-devel] Bug#986465: icinga2-bin: Add --close-stdio to systemd service file
Jeroen Coekaerts
jeroen at coekaerts.be
Tue Apr 6 14:52:03 BST 2021
Package: icinga2-bin
Severity: normal
Debian icinga2 starts the daemon with stdout to systemd and it floods
syslog with information messages even when logging is disabled
See also: https://github.com/icinga/icinga2/issues/6339
Fixed here : https://github.com/Icinga/icinga2/pull/6356/commits/a21166dcf8290eb21a5eeca3e8449ae09d7775f2
So it is fixed in the source etc/initsystem/icinga2.service.cmake but
there is a custom service file in the debian/ directory
- ExecStart=/usr/sbin/icinga2 daemon -e ${ICINGA2_ERROR_LOG}
+ ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e ${ICINGA2_ERROR_LOG}
The ExecReload command stops the log flood too :-)
Thanks
More information about the Pkg-nagios-devel
mailing list