Created
September 4, 2018 07:44
-
-
Save macghriogair/ad3aef90edf7179e7d79e16d71ca3aa5 to your computer and use it in GitHub Desktop.
[systemd restart] Restart Elasticsearch on Failure #elasticsearch #systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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