Problem: Some times we need to run jetty server as background process in linux so that when we close the terminal the server will not stop.
Solution: nohup utility can be used to run jetty server (java process) in background. Following command can be used.
#nohup java -jar start.jar jetty.port=18080 &
In the above command we are running jetty server on port 18080 as back ground process.
Solution: nohup utility can be used to run jetty server (java process) in background. Following command can be used.
#nohup java -jar start.jar jetty.port=18080 &
In the above command we are running jetty server on port 18080 as back ground process.
No comments:
Post a Comment