Skip to content

Commit

Permalink
Streamline credhub timeout with wait_for_uaa timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminguttmann-avtq authored and swalchemist committed Nov 10, 2022
1 parent dc5189b commit 77350db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/credhub/monit
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<% if p('bpm.enabled') %>
check process credhub
with pidfile /var/vcap/sys/run/bpm/credhub/credhub.pid
start program "/var/vcap/jobs/bpm/bin/bpm start credhub"
start program "/var/vcap/jobs/bpm/bin/bpm start credhub" with timeout <%= p("credhub.authentication.uaa.wait_for_start_max_timeout") %> seconds
stop program "/var/vcap/jobs/bpm/bin/bpm stop credhub"
group vcap
<% else %>
check process credhub
with pidfile /var/vcap/sys/run/credhub/pid
start program "/var/vcap/jobs/credhub/bin/ctl start"
start program "/var/vcap/jobs/credhub/bin/ctl start" with timeout <%= p("credhub.authentication.uaa.wait_for_start_max_timeout") %> seconds
stop program "/var/vcap/jobs/credhub/bin/ctl stop"
group vcap
<% end %>

0 comments on commit 77350db

Please sign in to comment.