Sha256: 788b21389e291ff627493d06d704c108188defd1ad569a8c480d820c9c02848c
Contents?: true
Size: 718 Bytes
Versions: 9
Compression:
Stored size: 718 Bytes
Contents
module Capistrano module DSL module UnicornPaths def unicorn_initd_file "/etc/init.d/#{fetch(:unicorn_service)}" end def unicorn_default_config_file shared_path.join('config/unicorn.rb') end def unicorn_default_pid_file shared_path.join('tmp/pids/unicorn.pid') end def unicorn_log_dir shared_path.join('log') end def unicorn_log_file unicorn_log_dir.join('unicorn.stdout.log') end def unicorn_error_log_file unicorn_log_dir.join('unicorn.stderr.log') end def unicorn_default_logrotate_config_file "/etc/logrotate.d/#{fetch(:unicorn_service)}" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems