[Packaging] Fix variable substitution

Systemd looks to be a bit less tolerant about $VAR than bash is. Replace
$VAR with ${VAR} in places in the systemd configuration file to get the
substitutions working.
This commit is contained in:
Nik Everett 2015-08-15 08:53:43 -07:00
parent 42300938aa
commit a9b2b033e3
1 changed files with 6 additions and 6 deletions

View File

@ -19,12 +19,12 @@ User=${packaging.elasticsearch.user}
Group=${packaging.elasticsearch.group}
ExecStart=${packaging.elasticsearch.bin.dir}/elasticsearch \
-Des.pidfile=$PID_DIR/elasticsearch.pid \
-Des.default.path.home=$ES_HOME \
-Des.default.path.logs=$LOG_DIR \
-Des.default.path.data=$DATA_DIR \
-Des.default.config=$CONF_FILE \
-Des.default.path.conf=$CONF_DIR
-Des.pidfile=${PID_DIR}/elasticsearch.pid \
-Des.default.path.home=${ES_HOME} \
-Des.default.path.logs=${LOG_DIR} \
-Des.default.path.data=${DATA_DIR} \
-Des.default.config=${CONF_FILE} \
-Des.default.path.conf=${CONF_DIR}
# Connects standard output to /dev/null
StandardOutput=null