Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 2
    This should be the answer. I just confirmed that a signal 15 shutdown tells spring to shitdown gracefully. Commented May 31, 2018 at 14:52
  • 1
    Why don't you call java - jar execution with nohup inside start.sh, rather than calling java - jar execution inside start.sh which is called with nohup inside another outer shell script?? Commented Jun 14, 2018 at 19:25
  • 3
    @AnandVarkeyPhilips The only reason is that I sometimes call start.sh from the command line for testing purposes, but if you always need nohup then you can just merge the commands Commented Jun 15, 2018 at 9:56
  • @Jens, Thanks for the info. Can you tell me you do this : foo.out 2> foo.err < /dev/null & Commented Jun 15, 2018 at 18:53
  • 1
    @jens, thanks I have done it succesfully and I have posted my start and stop script here below. ( stackoverflow.com/questions/26547532/… ) Commented Jul 19, 2018 at 15:13