I have solved it! To share my knowledge here follows how to do it: Added the following to /etc/environment JETTY_HOME="/home/user/jetty"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: /usr/bin/X11:/usr/games:$JETTY_HOME:" In /etc/rc2.d/ I symlinked: sudo ln -s /etc/init.d/jetty.sh S20jetty.sh Made the sh file executable: sudo chmod +x /etc/init.d/jetty.sh On Oct 1, 6:48 pm, Göran <[EMAIL PROTECTED]> wrote: > I am trying to use the jetty.sh script to have Jetty start up when the > machine boots. > > On Oct 1, 6:41 pm, Matthew Woodward <[EMAIL PROTECTED]> wrote: > > > Göran wrote: > > > I try to configure the unix start script in jetty.sh. The instructions > > > in the script are a bit vauge. I have copied it to /etc/init.d/ and > > > chmod +x and update-rc.d jetty.sh defaults, but I guess I need to add > > > a JETTY_HOME path. But I don´t now the format, if it should be like > > > JETTY_HOME="/usr/wwwroot/jetty/" or in XML format as it is in some > > > places in this jetty.sh file? > > > Sorry if I missed part of the earlier conversation, but are you just > > trying to start up Jetty, or are you trying to create a script so Jetty > > starts up when your machine boots? > > > -- > > Matt Woodward > > [EMAIL PROTECTED]://www.mattwoodward.com/blog > > > Please do not send me proprietary file formats such as Word, PowerPoint, > > etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html > > > smime.p7s > > 4KViewDownload --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official blog @ http://blog.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
