Fix systemd pidfile setting

This commit fixes the pidfile setting on systems that used systemd. The
issue is that the pidfile can only be set via the command line arguments
-p or --pidfile, and is no longer settable via a setting.
This commit is contained in:
Jason Tedor 2016-03-15 15:47:27 -04:00
parent d1b85f69ef
commit 5994e91b08
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Group=elasticsearch
ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec
ExecStart=/usr/share/elasticsearch/bin/elasticsearch \
-Ees.pidfile=${PID_DIR}/elasticsearch.pid \
-p ${PID_DIR}/elasticsearch.pid \
-Ees.default.path.home=${ES_HOME} \
-Ees.default.path.logs=${LOG_DIR} \
-Ees.default.path.data=${DATA_DIR} \