1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

add ability to specify log and pid files for configure

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@527 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
bktaylor 2007-02-22 04:42:15 +00:00
parent 5fc112ad00
commit 3a844bf558

View file

@ -9,6 +9,8 @@ Capistrano.configuration(:must_exist).load do
set :mongrel_prefix, nil
set :mongrel_rails, 'mongrel_rails'
set :mongrel_clean, false
set :mongrel_pid_file, nil
set :mongrel_log_file, nil
desc <<-DESC
Configure Mongrel processes on the app server. This uses the :use_sudo
@ -26,6 +28,8 @@ Capistrano.configuration(:must_exist).load do
argv << "-a #{mongrel_address}"
argv << "-c #{current_path}"
argv << "-C #{mongrel_conf}"
argv << "-P #{mongrel_pid_file}" if mongrel_pid_file
argv << "-l #{mongrel_log_file}" if mongrel_log_file
argv << "--user #{mongrel_user}" if mongrel_user
argv << "--group #{mongrel_group}" if mongrel_group
argv << "--prefix #{mongrel_prefix}" if mongrel_prefix