capistrano-plugins / capistrano-unicorn-nginx

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

Foreman #6

Closed joegiralt closed 10 years ago

joegiralt commented 10 years ago

Does this play well with workers and foreman?

bruno- commented 10 years ago

Hi, I think it is not "compatible" with foreman (as far as I know about foreman usage). This plugin creates an initd script so that you can directly start/stop/restart your app like this:

$ sudo service unicorn_your_app_name start
$ sudo service unicorn_your_app_name stop
$ sudo service unicorn_your_app_name restart

Also, unicorn processes are started after system restart directly. In a way - this plugin "talks" to unicorn directly.

From what I know about foreman - it is set up so that foreman "manages" unicorn and other processes. So yea, not possible with this plugin as it tries to do something else..

Hope this helps.

joegiralt commented 10 years ago

That's a shame :( you're gem got me so excited. We use foreman for our sidekiq workers and our .env files because we have many apps with different environment variables on the same server. Keep up the Good work i'm curious to see how this gem will evolve!