As I'm using Debian, and as the packages in the package manager aren't quite up-to-date, I'm forced to do a manual installation.

I downloaded the latest version as a .tar.gz file, and extracted it to /opt. Now I'm unsure on what to do next.

I need to have Jetty run as a service on startup, for every user on this PC. But how? I couldn't find anything in the documentation.

link|improve this question

71% accept rate
feedback

2 Answers

up vote 1 down vote accepted

If you can not find jetty.sh just download last one http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk/jetty-distribution/src/main/resources/bin/jetty.sh

And save it to /etc/init.d/jetty

Also you may need to edit /etc/default/jetty to set your individual settings like:

JAVA_HOME=
JAVA_OPTIONS=
JETTY_HOME=
JETTY_USER=
JETTY_LOGS=

If you want service start after reboot do not forget add it to default startup level with update-rc.d

link|improve this answer
Thx, that should solve all my problems :-). – Trollhorn Apr 20 '11 at 16:02
feedback

There should be a jetty.sh script into the bin directory. I don't know if it works under Debian, but it should be a good starting point.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.