summaryrefslogtreecommitdiff
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-06-25 00:05:19 +0200
committerjomo <github@jomo.tv>2014-06-25 00:05:19 +0200
commit6769982fe337f310208efbb58a0f1dc37c0fe584 (patch)
tree8fdd375cd0b5b12b79c85628014d1ee16587b3e2 /config/deploy.rb
parent1b23de09ef142b7239fbf6e99bd3e6a033904b07 (diff)
fixes for production
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index a228e16..f4aaa5f 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -27,8 +27,8 @@ namespace :deploy do
end
task :setup_config, roles: :app do
- sudo "ln -nfs #{current_path}/config/nginx.conf /etc/nginx/sites-enabled/#{application}"
- sudo "ln -nfs #{current_path}/config/unicorn_init.sh /etc/init.d/unicorn_#{application}"
+ puts "Please run as root: 'ln -nfs #{current_path}/config/nginx.conf /etc/nginx/sites-enabled/#{application}'"
+ puts "Please run as root: 'ln -nfs #{current_path}/config/unicorn_init.sh /etc/init.d/unicorn_#{application}'"
run "mkdir -p #{shared_path}/config"
end
after "deploy:setup", "deploy:setup_config"