NASから作業ファイル一式をダウンロードするスクリプトをデプロイする #4

Merged
kazu634 merged 3 commits from deploy-rsync-shell into main 2024-02-12 10:04:55 +00:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 9a699f2d59 - Show all commits

View File

@ -79,3 +79,12 @@ remote_file '/etc/cron.d/remove_tmp' do
group 'root'
mode '644'
end
# Deploy `~/works/rsync.sh`:
%w( rsync.sh lsyncd.conf.lua ).each do |file|
remote_file "/home/kazu634/works/#{file}" do
owner 'kazu634'
group 'kazu634'
mode '755'
end
end