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