Sha256: ba3f9a70e03f19e19c2ffc822875dacd0f012861aa0e9418ab6c656cf0dcc261

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

module Capistrano
  module DSL
    module UnicornPaths

      def unicorn_initd_tmp_file
        "#{fetch(:tmp_dir)}/#{fetch(:unicorn_service)}"
      end

      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

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-unicorn-nginx-1.0.1 lib/capistrano/dsl/unicorn_paths.rb