Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Commit

Permalink
Merge pull request #132 from intercity/jb-fix-backup-path
Browse files Browse the repository at this point in the history
Make the crontab use the correct path and bash
  • Loading branch information
jvanbaarsen committed Oct 24, 2014
2 parents 940faf4 + 482a9cd commit e4b43f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/cookbooks/backups/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
minute "0"
hour "0"
user deploy_user
command "cd /home/#{deploy_user}/Backup && backup perform --trigger #{app}"
command "/bin/bash -l -c 'cd /home/#{deploy_user}/Backup && /usr/local/bin/backup perform --trigger #{app}'"
end
else
cron "backup_#{app}" do
Expand Down

0 comments on commit e4b43f6

Please sign in to comment.