Skip to content

Instantly share code, notes, and snippets.

@fsvehla
Created September 16, 2008 17:00
Show Gist options
  • Save fsvehla/11066 to your computer and use it in GitHub Desktop.
Save fsvehla/11066 to your computer and use it in GitHub Desktop.
set :application, "intranet"
set :user, "faxonline"
role :app, "192.168.200.83"
set :use_sudo, false
set :scm, "git"
set :repository, "intranet@git.faxonline.tt:intranet.git"
set :git_enable_submodules, 1
set :deploy_to, "/www/intranet/" # defaults to "/u/apps/#{application}"
namespace :deploy do
task :restart, :roles => :app do
run "svcadm restart faxonline/intranet"
end
task :start, :roles => :app do
run "svcadm enable faxonline/intranet"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment