tenforwardconsulting / subspace

Ruby CLI for server maintenance, using Terraform and Ansible
MIT License
7 stars 3 forks source link

Support puma >= 5 #149

Open petitJAM opened 3 years ago

petitJAM commented 3 years ago

The daemonize part of puma was removed in puma 5 and Subspace's config doesn't work with it now.

There's a gem here to add it back in: https://github.com/kigster/puma-daemon It didn't just work as a drop-in replacement when I tried, and I did no further investigating, I just downgraded :grimacing:.

Here's some discussion about the removal: https://github.com/puma/puma/issues/1983

Not sure what the fix is, it could be really simple, but I haven't looked.

petitJAM commented 3 years ago

The workaround is just gem 'puma', '< 5'.

samsonasu commented 3 years ago

I think we should use init scripts as documented here: https://github.com/puma/puma/blob/master/docs/jungle/rc.d/README.md