How to use monit to restart elasticsearch

Started by Meg, May 11, 2025, 09:22:01 PM

Previous topic - Next topic
Hello: I have monit set to alert when elasticsearch shuts down. I would like to us it to also restart elasticsearch but from what I understand, elasticsearch cannot be started as administrator. How can I get monit to restart elasticsearch when it as shutdown and not restart.