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
Post a Comment