I\'m trying to run spring-boot on a vm and have nginx proxy all request towards it. I\'ve got this working but when I run:
To run a command even after You logout you can use nohup
command.
nohup
stands for "no hangup
." nohup
is a POSIX command to ignore the hangup signal. The hangup signal is, by convention, the way a terminal warns dependent processes of logout.
https://en.wikipedia.org/wiki/Nohup
http://linux.101hacks.com/unix/nohup-command/
Your command will look somewhat like
nohup mvn spring-boot:run &