capistrano-plugins / capistrano-unicorn-nginx

Capistrano tasks for automatic and sensible unicorn + nginx configuration
MIT License
175 stars 81 forks source link

Added CentOS 6.x support. #45

Open ereichert opened 9 years ago

ereichert commented 9 years ago

This has been tested on CentOS 6.5 and Ubuntu 14.

Refer to https://github.com/puppetlabs/facter/blob/master/lib/facter/operatingsystem/linux.rb if additional operating systems need to be supported or more specific information about the operating system is required.

XBeg9 commented 9 years ago

@bruno- Any updates on this? That's really nice to have this for CentOs.

bruno- commented 9 years ago

Hey, sorry, no I haven't had the time to try this out yet.

riseshia commented 9 years ago

I'm working on centos with rails and try to use this gem, however, i found out gem doesn't work on centos and this pr also. is here any updates, or is there any feature to add more?

rhomeister commented 9 years ago

Hi @ereichert. Could you please rebase onto master and squash your commits? How well is this tested on CentOS and Ubuntu?

ereichert commented 9 years ago

I'll see what I can do some time this week. Regarding testing, I use it weekly on CentOS 6.5 and have never used it on Ubuntu that I recall. There is an issue with restarting unicorn after a deployment but it's not become enough of a nuisance that I'm going to do anything about it.

ereichert commented 9 years ago

@rhomeister I think this is ready to go.

jesperronn commented 8 years ago

I am insterested in this PR, but also saw https://github.com/capistrano-plugins/capistrano-unicorn-nginx/compare/master...erwald:38f9e9c which seems to work also with Amazon Linux.

As far as I can tell, this PR doesnt work on Amazon Linux (neither lsb_lease or /etc/redhat-release exist on the Amazon Linux I'm testing)

Anybody having experience with this PR?