Sha256: 61e5186d289690564098d10427cf20f8a87649fa38c848d19edbf69c52083729

Contents?: true

Size: 537 Bytes

Versions: 9

Compression:

Stored size: 537 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_file
        shared_path.join('log/unicorn.stdout.log')
      end

      def unicorn_error_log_file
        shared_path.join('log/unicorn.stderr.log')
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-unicorn-nginx-3.3.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-3.2.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-3.1.2 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-3.1.1 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-3.1.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-3.0.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-2.1.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-2.0.0 lib/capistrano/dsl/unicorn_paths.rb
capistrano-unicorn-nginx-1.0.2 lib/capistrano/dsl/unicorn_paths.rb