Anyone using WHM/cPanel can use the chkserv monitoring service for detecting if elasticsearch is not running and restarting it for you. Here is how I do it. I'm using AlmaLinux 8 and Elasticsearch v8.16. Probably the same for Rocky Linux too.
After you install or upgrade elasticsearch, make sure it is enabled as a service. This makes sure elasticsearch will start anytime you manually reboot your server.
sudo systemctl enable elasticsearch.service
Edit the...
Read more
Читать далее...
After you install or upgrade elasticsearch, make sure it is enabled as a service. This makes sure elasticsearch will start anytime you manually reboot your server.
sudo systemctl enable elasticsearch.service
Edit the...
Read more
Читать далее...