Refix ENV var syntax. Refs #1
This commit is contained in:
parent
31bd8d799f
commit
09b18e2bb5
|
@ -2,7 +2,7 @@
|
|||
|
||||
for f in `ls /srv`
|
||||
do
|
||||
sudo -u rosa bundle exec APP_NAME=$f bluepill --no-privileged load /srv/$f/current/config/production.pill
|
||||
sudo -u rosa APP_NAME=$f bundle exec bluepill --no-privileged load /srv/$f/current/config/production.pill
|
||||
done
|
||||
|
||||
/srv/rosa_build/current/bin/mount_downloads.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Capistrano::Configuration.instance(:must_exist).load do
|
||||
namespace :bluepill do
|
||||
set :bluepill_binary, "bundle exec APP_NAME=#{fetch :application} bluepill --no-privileged"
|
||||
set :bluepill_binary, "APP_NAME=#{fetch :application} bundle exec bluepill --no-privileged"
|
||||
|
||||
desc "Stop processes that bluepill is monitoring and quit bluepill"
|
||||
task :quit, :roles => [:app], :on_error => :continue do
|
||||
|
|
Loading…
Reference in New Issue