[Bug 184592] [PATCH] www/rubygem-unicorn: add rc.d script

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 25 21:27:03 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184592

--- Comment #13 from geoffroy desvernay <dgeo at centrale-marseille.fr> ---
The most accurate response should be:
https://github.com/caleb/freebsd-unicorn#etcrcconf-details

Again, I'm not a skilled rails/rack/capistrano user, just a simple BSD sysadmin
:)

Here for redmine I use happily (:

unicorn_enable="YES"
unicorn_command="/usr/local/bin/unicorn_rails"
unicorn_profiles="redmine"
unicorn_redmine_enable="YES"
unicorn_redmine_rails="YES"
unicorn_redmine_old_pidfile="/usr/local/www/redmine/tmp/pids/unicorn.pid.oldbin"
unicorn_redmine_pidfile="/usr/local/www/redmine/tmp/pids/unicorn.pid"
unicorn_redmine_config="/usr/local/www/redmine/config/unicorn.config.rb"
unicorn_redmine_chdir="/usr/local/www/redmine"
unicorn_redmine_user="redmine"
unicorn_redmine_env="production"

It seems that the rc script is more capistrano-layout oriented (then two lines
are sufficient), and it may be simpler, but I'm not enought ruby-skilled to to
it myself…

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ruby mailing list