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

Set PLACK_RESTARTER_PID? #282

Open
miyagawa opened this issue Apr 21, 2012 · 0 comments
Open

Set PLACK_RESTARTER_PID? #282

miyagawa opened this issue Apr 21, 2012 · 0 comments
Labels

Comments

@miyagawa
Copy link
Member

throughnothing/Ubic-Service-Starman@d7bfc03#commitcomment-1238187

It's a known issue that some PSGI handlers such as Starman do not work as expected if you run it with plackup and -r option. Would it make sense to set some environment variable in Restarter before executing the child handler, so that the child can detect if it's running supervised, and gives warnings or throws exceptions if necessary?

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

No branches or pull requests

1 participant