I am using the monit with FreeBSD 13 to auto start some custom elixir apps, however, when i freshly boot the server, it fails with "env: bash: No such file or directory". It's like monit or the way it calls bash cant find env, which is strange, and only on bootup. Subsequent calls to the script work fine after i login with the user that owns the script.
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.