diff options
| author | mo k <mo@mokhan.ca> | 2012-12-17 10:31:01 -0700 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-12-17 10:31:01 -0700 |
| commit | dc0ab865ffb4e2ff4ec23b483b94a70f78f75abe (patch) | |
| tree | 82d3ef343775e1264300761e33ce3ad56ad7d7bc /config | |
| parent | 27d30fab1ab1dc67daad04af65999a2a201931ec (diff) | |
ensure the execute bit is turned on for the restart dj script.
Diffstat (limited to 'config')
| -rw-r--r-- | config/deploy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index dfecaec8..13f57754 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -32,6 +32,7 @@ after "deploy:restart", "delayed_job:restart" namespace :deploy do task :symlink_db, :roles => :app do + run "chmod +x #{release_path}/script/restart_delayed_job" run "ln -nfs #{release_path}/config/database.production.yml.example #{release_path}/config/database.yml" end task :restart, :roles => :web do |
