Sha256: 009db3cad1a71d74c5bd6c85bf328242da2628bf7ecee9229b22f7a04eda4a64

Contents?: true

Size: 725 Bytes

Versions: 49

Compression:

Stored size: 725 Bytes

Contents

<%
  @path = '/etc/monit/monit.d/monit-sidekiq.conf'
  start_program = "/usr/bin/sudo -H -u #{rubber_env.app_user} /bin/bash -l -c 'cd #{Rubber.root} ; nohup bundle exec sidekiq -e #{Rubber.env} -C #{Rubber.root}/config/sidekiq.yml -P #{Rubber.root}/tmp/pids/sidekiq.pid >> #{Rubber.root}/log/sidekiq.log 2>&1 &'"
  stop_program  = "/usr/bin/sudo -H -u #{rubber_env.app_user} /bin/bash -l -c 'cd #{Rubber.root} && if [ -f #{Rubber.root}/tmp/pids/sidekiq.pid ]; then bundle exec sidekiqctl stop #{Rubber.root}/tmp/pids/sidekiq.pid 60 ; fi'"
%>

check process sidekiq with pidfile <%= Rubber.root %>/tmp/pids/sidekiq.pid
  group selenium_grid_hub
  start program = "<%= start_program %>"
  stop program = "<%= stop_program %>"

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-3.2.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-3.2.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-3.1.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-3.0.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-3.0.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.16.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.15.2 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.15.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.15.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.14.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.13.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.13.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.12.2 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.12.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.12.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.11.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.10.2 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.10.1 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf
rubber-2.10.0 templates/sidekiq/config/rubber/role/sidekiq/monit-sidekiq.conf