module Luban::Deployment::Applications::Rack::Paths

Public Instance Methods

control_file_dir() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 14
def control_file_dir; @control_file_dir ||= "config"; end
control_file_extname() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 20
def control_file_extname
  @control_file_extname ||= "rb"
end
control_file_name() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 16
def control_file_name
  @control_file_name ||= "#{current_web_server}.#{control_file_extname}"
end
log_file_name() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 6
def log_file_name
  @log_file_name ||= "#{current_web_server}.log"
end
pid_file_name() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 10
def pid_file_name
  @pid_file_name ||= "#{current_web_server}.pid"
end
public_files_path() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 36
def public_files_path
  @public_files_path ||= release_path.join('public')
end
socket_file_name() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 32
def socket_file_name
  @socket_file_name ||= "#{current_web_server}.sock"
end
socket_file_path() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 24
def socket_file_path
  @socket_file_path ||= sockets_path.join(socket_file_name)
end
sockets_path() click to toggle source
# File lib/luban/deployment/applications/rack/paths.rb, line 28
def sockets_path
  @sockets_path ||= shared_path.join('sockets')
end