From d423106110a583cc08ae9a53260b42d8b2f95000 Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Thu, 5 Mar 2015 16:25:20 +0100 Subject: [PATCH] Use SLNM_JAVA variable --- templates/init.d/selenium.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/init.d/selenium.erb b/templates/init.d/selenium.erb index 3558248..2653354 100644 --- a/templates/init.d/selenium.erb +++ b/templates/init.d/selenium.erb @@ -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