XFdestek
Kurucu Üye
Users of WHM/cPanel can utilize the chkservd monitoring service to detect if Elasticsearch is not running and to restart it automatically. Here's my method: I use AlmaLinux 8 with Elasticsearch v8.16, which should be similar for Rocky Linux as well.
After installing or upgrading Elasticsearch, ensure that it is set to run as a service. This guarantees that Elasticsearch will automatically start whenever you reboot your server manually.
sudo systemctl enable elasticsearch.service...
After installing or upgrading Elasticsearch, ensure that it is set to run as a service. This guarantees that Elasticsearch will automatically start whenever you reboot your server manually.
sudo systemctl enable elasticsearch.service...