Skip to content
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

Forever-launched scripts on EC2 quit immediately when I exit SSH. #18

Closed
kentbrew opened this issue Jan 10, 2011 · 3 comments
Closed

Forever-launched scripts on EC2 quit immediately when I exit SSH. #18

kentbrew opened this issue Jan 10, 2011 · 3 comments

Comments

@kentbrew
Copy link

Sorry, but Forever-launched scripts quit instantly when I close my terminal window onto Amazon's EC2. Nohup-launched scripts stay running. Any idea what's up?

Thanks for an amazing piece of work, by the way!

--Kent

@indexzero
Copy link
Member

How are you running the script(s)? If you launch something like so:

  forever myscript.js

Then it is by design that it would exit when you exit SSH because that is a long running process and not a daemon. The correct usage would be:

  forever start myscript.js

Let me know if that fixes it for you.

@kentbrew
Copy link
Author

Yep, that's it. Never mind. :)

@indexzero
Copy link
Member

Ok, cool. Had me worried for a second.

This issue was closed.
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