It would be nice that monit.initd include option for configtest. Smth like this: opts="${opts} reload configtest" configtest() { /usr/bin/monit -t 1>/dev/null 2>&1 ret=$? if [ $ret -ne 0 ]; then eerror "${SVCNAME} has detected an error in your setup:" /usr/bin/monit -t fi return $ret } Reproducible: Always
+ 13 Apr 2011; Patrick Lauer <patrick@gentoo.org> +files/monit.initd-5.0-r1, + +monit-5.2.3-r1.ebuild: + init script fix for #362033 Excellent idea. Thanks!