Sha256: 4f9abe4434795e79c911bd162eea1fb3f9c3014909639b76bac539ab7c0f7c43
Contents?: true
Size: 886 Bytes
Versions: 32
Compression:
Stored size: 886 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 "mkdir -p #{shared_path}/var" run "mkdir -p #{shared_path}/var/logs" run "mkdir -p #{shared_path}/var/cache" run "mkdir -p #{shared_path}/var/sessions" run "mkdir -p #{shared_path}/system" try_sudo "chmod -R 755 #{shared_path}/*" end end end
Version data entries
32 entries across 32 versions & 1 rubygems