The rc.d script fails on wrong permissions of the Monit configuration file. Setting a command in monit_setup that would change the permissions doesn't work because monit_checkconf (set in restart/reload_precmd) is executed before. Is it possible to fix the permissions within the monit_checkconf function?
After further investigation it makes more sense to fix the _setup rc script handling which allows to fix this via custom script: https://reviews.freebsd.org/D36259 This can be closed IMO. Sorry for the noise. Cheers, Franco
Closing as requested.