Sha256: 2f2aca3cade70ef1dba1113586cc129c3ee15dd13a2ff4609d63b04b3756678a
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do define_recipe :sinatra_passenger do namespace :sinatra_passenger do desc "Set file permissions" task :chmod_directories_config do run "cd #{release_path} && find -maxdepth 1 -type d -exec chmod 755 {} \\;" end desc "Set public folder permissions" task :chmod_directories_public do run "cd #{release_path}/public && find -type d -exec chmod 755 {} \\;" end end after "deploy:update_code", "sinatra_passenger:chmod_directories_config" after "deploy:update_code", "sinatra_passenger:chmod_directories_public" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
factorylabs-fdlcap-0.3.15 | lib/fdlcap/recipes/sinatra_passenger.rb |