title: Setting up Jetty as a service
body: <p>I've finally managed to get Jetty7 running as a service in Debian.</p>
  
  <p>Still, I'm unsure if I made the right steps or didn't forget something.</p>
  
  <p>So far, I've done the following:</p>
  
  <ol>
  <li>Untared the downloaded tar file to <code>/opt/jetty-distribution-$JETTY_VERSION</code></li>
  <li>Created a softlink <code>`/opt/jetty</code> pointing to <code>/opt/jetty-distribution-$JETTY_VERSION</code></li>
  <li>Copied the <code>jetty.sh</code> file (found in <code>/opt/bin/jetty.etc</code> to <code>/etc/init.d</code></li>
  <li>Uncommented the three lines (like the comments in the <code>sh</code> file say)</li>
  </ol>
  
  <p>Is this okay? I didn't set <code>$JETTY_HOME</code>, <code>JAVA_HOME</code>, <code>JAVA</code> explicitely, as Jetty seems to be able to figure them out.</p>