Skip to content

Allow to actually daemonize Spring #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
p0deje opened this issue Aug 6, 2014 · 1 comment
Open

Allow to actually daemonize Spring #343

p0deje opened this issue Aug 6, 2014 · 1 comment

Comments

@p0deje
Copy link
Contributor

p0deje commented Aug 6, 2014

Currently, if you are using Spring with Vagrant, it's not very convenient. For example, if I ssh into Vagrant box and run springified command, spring keep running until SSH session is terminated. So if for some reason I disconnect and reconnect, Spring will have to be started once again.

It would be great if there was any way to tell Spring to keep running (like nohup/daemon) even when terminal session is ended.

I am ready to implement this, but need some guidance.

@jstrater
Copy link
Contributor

@p0deje You can actually use nohup as a workaround. Run

$ nohup spring

to start up a Spring server that keeps running even after you close your Vagrant ssh session. Since Spring detects the running server via PID file, subsequent commands will be able to use your nohup'd server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants