logilogi.rb

Path: lib/capistrano/logilogi.rb
Last Update: Wed Sep 08 18:54:37 +0100 2010

Methods

Constants

EXTRA_SHARED_DIRS = [ "tmp/sockets", "db/search_index", "db/backup", "public/pub"   Dirs in addition to log, public/system and pids that are linked to
NON_LINKED_SHARED_DIRS = [ "config", "log/awstats", "public/pub/webstat"   Created inside shared, access via linked upper dir (or files)
SHARED_TEMPLATE_FILES = [ "config/config.rb", "config/database.yml", "config/mongrel_cluster.yml"   Copied from something.rb.tmpl to something.rb
CHOWN_WWW_DATA_DIRS = [ "tmp/sockets", "db/search_index", "public/pub/webstat", "log", "pids"   Chowned inside shared
UPDATE_CHOWN_WWW_DATA = [ "public/javascripts", "public/do", "public/do/magick_corners", "tmp", "db/schema.rb"   Chowned inside the release, not linked

Public Instance methods

Functions

[Source]

     # File lib/capistrano/logilogi.rb, line 188
188:   def run_chown_data(dir_file, path = shared_path)
189:     runner = fetch(:runner, "app")
190:     invoke_command "#{try_sudo} chown -R #{runner}:#{runner} #{path}/#{dir_file}"
191:   end

[Validate]