Sha256: 91f60ec7e95e58b57065616b8e6d00c18fe399c0e70d110421552bf5b4a0da5a

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

check process <%= fetch(:sidekiq_service_unit_name) %> matching "sidekiq.*<%= fetch(:full_app_name) %>"  
  start program = "/bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/bin/systemctl start --user <%= fetch(:sidekiq_service_unit_name) %>'" as uid "<%= fetch(:sidekiq_systemctl_user) %>" and gid "<%= fetch(:sidekiq_systemctl_user) %>"
  stop program = "/bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/bin/systemctl stop --user <%= fetch(:sidekiq_service_unit_name) %>'" as uid "<%= fetch(:sidekiq_systemctl_user) %>" and gid "<%= fetch(:sidekiq_systemctl_user) %>"
  group <%= fetch(:sidekiq_monit_group) || fetch(:full_app_name) %>-sidekiq

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-cookbook-5.0.2 lib/generators/capistrano/reliably_deploying_rails/templates/sidekiq_monit.erb
capistrano-cookbook-5.0.1 lib/generators/capistrano/reliably_deploying_rails/templates/sidekiq_monit.erb