monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit port does not work on bootup


From: Mike Jakubik
Subject: Re: Monit port does not work on bootup
Date: Sun, 24 Apr 2022 16:01:57 -0400
User-agent: Zoho Mail

Hello,

Yes, this fixes the issue. Kind of add that it doesn't have any PATH on boot, but i guess this will work for me.

Thanks.



---- On Sun, 24 Apr 2022 15:27:06 -0400 Lutz Mader <lutz.mader@freenet.de> wrote ----

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


Mike Jakubik
https://www.swiftsmsgateway.com/

Disclaimer: This e-mail and any attachments are intended only for the use of the addressee(s) and may contain information that is privileged or confidential. If you are not the intended recipient, or responsible for delivering the information to the intended recipient, you are hereby notified that any dissemination, distribution, printing or copying of this e-mail and any attachments is strictly prohibited. If this e-mail and any attachments were received in error, please notify the sender by reply e-mail and delete the original message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]