summaryrefslogtreecommitdiff
path: root/config/deploy.rb.example
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-12 23:53:51 -0800
committerelijah <elijah@riseup.net>2012-11-12 23:53:51 -0800
commitc37a35df81b2d6becc09f1820240db24c3ec632c (patch)
tree50187e4ab1face237760614ecf844b42efdd51e1 /config/deploy.rb.example
parentc90d30621e042cc3e52ffc87e3491ab110a57e9e (diff)
first fully working version of leap_ca
Diffstat (limited to 'config/deploy.rb.example')
-rw-r--r--config/deploy.rb.example23
1 files changed, 0 insertions, 23 deletions
diff --git a/config/deploy.rb.example b/config/deploy.rb.example
deleted file mode 100644
index 5fb18ed..0000000
--- a/config/deploy.rb.example
+++ /dev/null
@@ -1,23 +0,0 @@
-require "bundler/capistrano"
-
-set :application, "leap_ca"
-
-set :scm, :git
-set :repository, "git://leap.se/leap_ca"
-
-role :app, "YOUR SERVER GOES HERE"
-
-# if you want to clean up old releases on each deploy uncomment this:
-# after "deploy:restart", "deploy:cleanup"
-
-namespace :deploy do
- task :start, :roles => :app do
- run "#{File.join(current_path,'bin','leap_ca')} start"
- end
- task :stop, :roles => :app do
- run "#{File.join(current_path,'bin','leap_ca')} stop"
- end
- task :restart, :roles => :app, :except => { :no_release => true } do
- run "#{File.join(current_path,'bin','leap_ca')} restart"
- end
-end