Hi,
After upgrading to 2.6.3, the joc service doesn't start :
nov. 14 08:23:08 js7 jetty.sh[2414051]: Starting Jetty:
nov. 14 08:23:08 js7 jetty.sh[2414155]: start-stop-daemon: invalid option -- 'D'
nov. 14 08:23:08 js7 jetty.sh[2414155]: Try 'start-stop-daemon --help' for more information.
nov. 14 08:23:08 js7 jetty.sh[2414156]: /opt/js7/joc/jetty/bin/jetty.sh: ligne 588: --make-pidfile : commande introuvable
The script jetty/bin/jetty.sh is in fault :
add a \ ad the end of line 586
change
echo ${RUN_ARGS[@]} --start-log-file="$JETTY_START_LOG" | xargs start-stop-daemon \
--start $CH_USER \
--pidfile "$JETTY_PID" \
--chdir "$JETTY_BASE" \
--background \
--output "${JETTY_RUN}/start-stop.log"
--make-pidfile \
--startas "$JAVA" \
to
echo ${RUN_ARGS[@]} --start-log-file="$JETTY_START_LOG" | xargs start-stop-daemon \
--start $CH_USER \
--pidfile "$JETTY_PID" \
--chdir "$JETTY_BASE" \
--background \
--output "${JETTY_RUN}/start-stop.log" **\**
--make-pidfile \
--startas "$JAVA" \
(can't edit) without the ** of course so
Hi Sebastien,
Thank you for the hint.
It is fixed.
You will find an updated installer for JOC on Linux:
https://sourceforge.net/projects/jobscheduler/files/js7_joc_linux.2.6.3.tar.gz/download
Best regards
Oliver