Skip to content

Commit

Permalink
Update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
gf3 committed Dec 19, 2012
1 parent b8a0091 commit bbcec20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set :application, "twatlr"
set :repository, "git://github.com/gf3/twatlr.com.git"
set :deploy_to, "/var/www/twatlr.com"
set :deploy_to, "/usr/local/www/gianni/twatlr.com"
set :scm, :git
set :user, :gianni

Expand All @@ -15,7 +15,7 @@
task :restart, :roles => :app, :except => { :no_release => true } do
# run "cd #{release_path}; git submodule init; git submodule update"
run "kill `ps -C app.rkt -o pid=`; true" # Ignore failed kills
run "nohup /usr/bin/racket #{release_path}/app.rkt > /dev/null 2>&1 &" # Start server
run "nohup /usr/local/bin/racket #{release_path}/app.rkt > /dev/null 2>&1 &" # Start server
end
end

0 comments on commit bbcec20

Please sign in to comment.