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

Detach server process from terminal #53

Closed
wants to merge 4 commits into from
Closed

Detach server process from terminal #53

wants to merge 4 commits into from

Conversation

sxua
Copy link

@sxua sxua commented Mar 31, 2012

Need to detach (daemonize) server process from terminal.

@evanphx
Copy link
Member

evanphx commented Mar 31, 2012

I would prefer that puma not have a detach mode built-in because if someone wants to use in the background, they should really put in under some kind of monitoring (monit, god, bluepill, whatever).

In a pinch, the user can simply use & to the shell.

@sxua
Copy link
Author

sxua commented Mar 31, 2012

OK, but what about killing server? Will it gracefully stop on KILL in "&" case?

@evanphx
Copy link
Member

evanphx commented Mar 31, 2012

I'll add code so that it graceful stops on SIGTERM in which case, yes.

@evanphx evanphx closed this in 576bea6 Apr 11, 2012
aleksei-burlakov pushed a commit to aleksei-burlakov/puma that referenced this pull request Sep 6, 2022
Limit lock scope to prevent recursive locking
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

Successfully merging this pull request may close these issues.

None yet

2 participants