I'm trying to get Jetty to auto start on my Ubuntu. I've done these commands:
cp /opt/jetty/bin/jetty.sh /etc/init.d
update-rc.d jetty.sh defaults
but when I run it I got a "Not starting jetty - NO_START=1 ".
Does anyone know why?
Secondly, the following is stated inside the jetty.sh.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Jetty 7 webserver
# processname: jetty
# ========================
What "3 lines" are they referring to? I uncommented
chkconfig: 3 99 99
description: Jetty 7 webserver
processname: jetty
but got an error too.