Sha256: 5c9f781eb40b125d3c747039270dcbe7ae7bf8393143565b19f3d8333b037b81
Contents?: true
Size: 939 Bytes
Versions: 2
Compression:
Stored size: 939 Bytes
Contents
#======================== #CONFIG #======================== set :application, "searcher" set :scm, :git set :git_enable_submodules, 1 set :repository, "ft_git3@spicevan.com:beta_tools.git" set :branch, "master" set :ssh_options, { :forward_agent => true } set :stage, :production set :user, "docs" set :use_sudo, false set :runner, "docs" set :deploy_to, "/data/apps/#{stage}/#{application}" set :app_server, :passenger set :domain, "searcher" #======================== #ROLES #======================== role :app, domain role :web, domain role :db, domain, :primary => true #======================== #CUSTOM #======================== namespace :deploy do task :start, :roles => :app do run "touch #{current_release}/tmp/restart.txt" end task :stop, :roles => :app do # Do nothing. end desc "Restart Application" task :restart, :roles => :app do run "touch #{current_release}/tmp/restart.txt" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beta_tools-0.0.5 | config/deploy.rb |
beta_tools-0.0.4 | config/deploy.rb |