Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 21:27:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 184592] [PATCH] www/rubygem-unicorn: add rc.d script
Message-ID:  <bug-184592-21402-B8jVmRNTmx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-184592-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-184592-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #13 from geoffroy desvernay <dgeo@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-184592-21402-B8jVmRNTmx>