ubuntu 12.04 - How to run jetty as a daemon -


i've downloaded jetty 9 , wanted run daemon. i've set options in /etc/default/jetty, here are:

jetty_home=/opt/jetty jetty_args=jetty.port=8080 no_start=0 jetty_user=jetty jetty_pid=/opt/jetty/jetty.state jetty_logs=/var/log/jetty debug=1 

when run service jetty start this:

starting jetty: failed sun apr 13 17:20:25 utc 2014 

well, wrong? there's no info in logs, how can debug this?

take here tips. default script runs start-stop-daemon -b flag, puts detached process , prevents output going console. remove -b , add -v (verbose), , you'll debugging information , indication of how far got.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -