Skip to content

Instantly share code, notes, and snippets.

@macghriogair
Created September 4, 2018 07:44
Show Gist options
  • Save macghriogair/ad3aef90edf7179e7d79e16d71ca3aa5 to your computer and use it in GitHub Desktop.
Save macghriogair/ad3aef90edf7179e7d79e16d71ca3aa5 to your computer and use it in GitHub Desktop.
[systemd restart] Restart Elasticsearch on Failure #elasticsearch #systemd
#https://github.com/elastic/ansible-elasticsearch/issues/371
# Erzeugt eine /etc/systemd/system/elasticsearch.service.d/override.conf:
systemctl edit elasticsearch.service
#--
[Service]
Restart=always
#--
systemctl daemon-reload
systemctl cat elasticsearch.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment