Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Go to the directory contains backup.properties #145

Merged
merged 1 commit into from
Feb 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/backup_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
day settings['backup']['cron']['day']
month settings['backup']['cron']['month']
weekday settings['backup']['cron']['weekday']
command "java -jar #{backup_client_install_path}/#{node['stash']['product']}-backup-client.jar"
command "cd #{backup_client_install_path} && java -jar #{backup_client_install_path}/#{node['stash']['product']}-backup-client.jar"
user node['stash']['user']
action(settings['backup']['cron']['enable'] ? :create : :delete)
end