summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-08-09 22:25:33 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-08-09 22:25:33 +0200
commit266c28ab3de4dc20f4dc55a7df13bb13354b1708 (patch)
tree08d7f369c206a11048e19cfe41f423e5670230d4
parent6675ea1534517f7dc86240a1aba74bf94342c449 (diff)
downloadnorsk-urskog-registrations-266c28ab3de4dc20f4dc55a7df13bb13354b1708.tar.gz
norsk-urskog-registrations-266c28ab3de4dc20f4dc55a7df13bb13354b1708.tar.bz2
norsk-urskog-registrations-266c28ab3de4dc20f4dc55a7df13bb13354b1708.zip
Cleanup deploy scripts some more.
-rw-r--r--config/deploy.rb6
-rw-r--r--config/deploy/production.rb2
2 files changed, 3 insertions, 5 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 2a835d6..19aceb5 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,11 +1,9 @@
# config valid only for current version of Capistrano
lock '3.4.0'
-set :application, 'regform'
+set :application, 'registration'
set :repo_url, 'https://github.com/snake66/norsk-urskog-registrations.git'
-set :passenger_restart_with_touch, true
-set :rvm_ruby_version, '2.2.3'
-set :deploy_to, '/usr/local/www/norsk-urskog/registration'
+set :deploy_to, '/home/norskurskog/www/registration'
set :linked_files, fetch(:linked_files, []).push('config.yml')
# Default value for linked_dirs is []
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
index ee597c4..d9620a1 100644
--- a/config/deploy/production.rb
+++ b/config/deploy/production.rb
@@ -1 +1 @@
-server 'volse.anduin.net', user: 'deploy', roles: %w{app db web}
+server 'volse.anduin.net', user: 'norskurskog', roles: %w{app db web}