Move restart to main from handler
This commit is contained in:
parent
7b32a17d59
commit
914cb7867c
5 changed files with 7 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue