nohup - How to cleanly shutdown a Grails standalone application? -


what best way stop grails application started with:

nohup java -jar myapp.war --server-port=9090 & 

killall -9 java 

or

 killall -15 java 

that's ! command sends signals processes identified name.


why -9 or -15 ?

because use nohup prevents processes receiving sighup. so, must use -15 (sigterm) or -9 (sigkill) kill command.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -