Sha256: 516122fea99f938e03c72f343b1d4fa8aae7796af590086fd46198b736c5fd35
Contents?: true
Size: 702 Bytes
Versions: 1
Compression:
Stored size: 702 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 log_dir.join('unicorn.stdout.log') end def unicorn_error_log_file 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-unicorn-nginx-3.3.1 | lib/capistrano/dsl/unicorn_paths.rb |