Sha256: aeac81ca4213d81ff090d0e5de43e5fd76a986e2ddaa248fdcf07d382505092d
Contents?: true
Size: 906 Bytes
Versions: 1
Compression:
Stored size: 906 Bytes
Contents
# Require our base drupal library require 'ash/zend_doctrine' configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::Configuration.instance(:must_exist) : Capistrano.configuration(:must_exist) configuration.load do # -------------------------------------------- # Overloaded Methods # -------------------------------------------- namespace :deploy do desc<<-DESC Setup shared directories and permissions after initial setup \ for a shared hosting enviroment DESC task :setup_shared, :roles => :web, :except => { :no_release => true } do run<<-CMD mkdir -p #{shared_path}/var && mkdir -p #{shared_path}/var/logs && mkdir -p #{shared_path}/var/cache && mkdir -p #{shared_path}/var/sessions && mkdir -p #{shared_path}/system CMD try_sudo "chmod -R 755 #{shared_path}/*" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-ash-1.1.0 | lib/ash/zend_doctrine_shared_hosting.rb |