-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streamline credhub timeout with wait_for_uaa timeout
- Loading branch information
1 parent
dc5189b
commit 77350db
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %> |