Skip to content

Commit

Permalink
Merge pull request #35 from Super-Visions/feature/fix_java_path
Browse files Browse the repository at this point in the history
Use SLNM_JAVA variable
  • Loading branch information
Joshua Hoblitt committed Mar 11, 2015
2 parents 1c6a1b0 + d423106 commit ba8450a
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 ba8450a

Please sign in to comment.