Sha256: 0e76c033a1afe67453e392c51efecd8fc93ef4a9a438d7dc58ae499d4b2721a4

Contents?: true

Size: 427 Bytes

Versions: 4

Compression:

Stored size: 427 Bytes

Contents

module Capistrano
  class Sidekiq::Systemd < Capistrano::Plugin
    def set_defaults
      set_if_empty :sidekiq_service_unit_name, 'sidekiq'
      set_if_empty :sidekiq_service_unit_user, :user # :system
      set_if_empty :sidekiq_enable_lingering, true
      set_if_empty :sidekiq_lingering_user, nil
    end

    def define_tasks
      eval_rakefile File.expand_path('../../tasks/systemd.rake', __FILE__)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-sidekiq-2.0.0 lib/capistrano/sidekiq/systemd.rb
capistrano-sidekiq-2.0.0.beta5 lib/capistrano/sidekiq/systemd.rb
capistrano-sidekiq-2.0.0.beta4 lib/capistrano/sidekiq/systemd.rb
capistrano-sidekiq-2.0.0.beta3 lib/capistrano/sidekiq/systemd.rb