Skip to content

Commit

Permalink
Use SLNM_JAVA variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hipska committed Mar 5, 2015
1 parent 1c6a1b0 commit d423106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/init.d/selenium.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lockfile=/var/lock/subsys/$prog
pidfile=/var/run/${prog}.pid

# pidfile must be owned by selenium user
exec="DISPLAY=${SLNM_DISPLAY} java -jar ${SLNM_JAR} ${SLNM_OPTIONS} > ${SLNM_LOG} 2> ${SLNM_ERROR_LOG} & "'echo $!'" > ${pidfile}"
exec="DISPLAY=${SLNM_DISPLAY} ${SLNM_JAVA} -jar ${SLNM_JAR} ${SLNM_OPTIONS} > ${SLNM_LOG} 2> ${SLNM_ERROR_LOG} & "'echo $!'" > ${pidfile}"

start() {
# [ -x $exec ] || exit 5
Expand Down

0 comments on commit d423106

Please sign in to comment.