java - Launching jar file on Azure virtual machine -


i developing java server-like application (though not server itself, more bot social network) , decided use azure virtual machine deploy app on. i've chosen ubuntu virtual machine. uploaded .jar file on server, connected bash shell windows , ssh (as described in manual azure). able launch file java -jar server.jar , works. problem when close shell on home computer, app shuts down on server too. question how launch .jar file in way won't exit once close ssh session?

run command in background nohup:

nohup java -jar server.jar & 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -