Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashita Yuu committed Mar 15, 2013
1 parent cd1cfba commit 06b28b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -80,6 +80,17 @@ If you want to apply for all configuration files, you can use `:config_files_opt
set :config_files, ["config/secret.yml", "config/credentials.yml"]
set :config_files_options, :owner => "user", :group => "user", :mode => "640"

### Setting up files with absolute paths

If the configuration file name starts with "/", it will be treated as absolute path.

# config/deploy.rb
set :config_files do
{
"/etc/init/foo.cnf" => { :configure_except => :local, :owner => "root", :group => "root", :mode => "644", :run_method => :sudo },
}
end


## Reference

Expand Down

0 comments on commit 06b28b5

Please sign in to comment.