Move restart to main from handler

This commit is contained in:
Dale McDiarmid 2017-01-17 14:42:21 +00:00
parent 7b32a17d59
commit 914cb7867c
5 changed files with 7 additions and 11 deletions

View file

@ -17,7 +17,7 @@ LOG_DIR={{log_dir}}
# Elasticsearch PID directory
PID_DIR={{pid_dir}}
ES_JVM_OPTIONS={{conf_dir}}/jvm.options
#ES_JVM_OPTIONS={{conf_dir}}/jvm.options
# Configure restart on package upgrade (true, every other setting will lead to not restarting)
#ES_RESTART_ON_UPGRADE=true

View file

@ -33,7 +33,6 @@ ExecStart={{es_home}}/bin/elasticsearch \
# stores its logs in /var/log/elasticsearch and does not use
# journalctl by default. If you also want to enable journalctl
# logging, you can simply remove the "quiet" option from ExecStart.
StandardOutput=journal
StandardError=inherit