To add to my last comment, you can download the monit sourcecode here:
https://mmonit.com/monit/dist/monit-5.25.2.tar.gz
You can specify the non-default destination for the monitrc config file with
this:
./configure --sysconfdir /etc/monit
./make
Then you can make this into a .deb file with:
che
Another option if you want to run the latest version: The pre-compiled
generic monit package from the monit project works OK without this
problem, but Ubuntu stores the config files in a non-default location so
you have to specify the path to /etc/monit/monitrc with each command.
--
You received