Re: Monit port does not work on bootup

Lutz Mader <[email protected]> Sun, 24 Apr 2022 21:27:06 +0200
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello Mike,
you are using a shebang with "#!/usr/bin/env", this does not work well,
see https://mmonit.com/monit/documentation/monit.html#SERVICE-METHODS

Try to use a shebang pointing to the bash and not to env.

A suggestion only,
Lutz