Updating timeout duration of elasticsearch service
If you encounter the "Job for elasticsearch.service failed because a timeout was exceeded" message after trying the start the elasticsearch service add this line to your ovverride.conf file:
nano /etc/systemd/system/elasticsearch.service.d/override.conf[Service]
TimeoutStartSec=180Reload the daemon:
systemctl daemon-reloadAnd try to start the elasticsearch service again. Increase the TimeoutStartSec duration if needed.