Sha256: 62770ccd201f542ded2639dbc3c518132fbf850915326d8a759f8b6ff6aa76fd

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

module Capistrano
  module DSL
    module DelayedJobPaths

      def delayed_job_initd_file
        "/etc/init.d/#{fetch(:delayed_job_service)}"
      end

      # install the delayed_job monit configuration in the conf.d directory, where it will
      # automaticaly be picked up by monit
      def delayed_job_monitrc_file
        "/etc/monit/conf.d/#{fetch(:delayed_job_service)}.monitrc"
      end

      def current_path
        deploy_path.join('current')
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-delayed-job-1.1.0 lib/capistrano/dsl/delayed_job_paths.rb