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

Daemon Mode Not Working In Latest Puma version #2488

Closed
techseria opened this issue Nov 21, 2020 · 5 comments
Closed

Daemon Mode Not Working In Latest Puma version #2488

techseria opened this issue Nov 21, 2020 · 5 comments

Comments

@techseria
Copy link

I am using puma from last 2 years, recently I have upgraded puma to the latest version and found that daemon mode is not working in the latest version.

Can anyone help me to fix how I can start my application in daemon mode?

@dentarg
Copy link
Member

dentarg commented Nov 21, 2020

See "Deprecations, Removals and Breaking API Changes" at https://github.com/puma/puma/blob/ea81fba045ce191644129cc772608765d1595511/History.md#500--2020-09-17

Daemonization has been removed without replacement. (#2170)

@techseria
Copy link
Author

Is there any way through that I can run an application as service mode? As of now, I need to start an application manually after a server reboot.

@dentarg
Copy link
Member

dentarg commented Nov 21, 2020

There are plenty of alternatives for that, some are mentioned in https://github.com/puma/puma/blob/v5.0.4/docs/deployment.md

For more info about Puma and systemd, see https://github.com/puma/puma/blob/v5.0.4/docs/systemd.md

I encourage you to investigate and read up on these tools, the Puma issue tracker isn't really the place to get help with deploying your application (try Stack Overflow etc.) (but you can probably also find information in old issues here).

@kigster
Copy link
Contributor

kigster commented Jan 24, 2021

@techseria Please take a look - this functionality has been extracted into puma-daemon ruby gem. I would love some additional testing if you'd like to use daemonization with 5+ Puma

@nateberkopec
Copy link
Member

@kigster Please open a PR to add puma-daemon to the README (deployment and community sections, probably)

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

3 participants