Skip to content

Commit

Permalink
Merge a11891d into 57b4105
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmartin committed Feb 9, 2015
2 parents 57b4105 + a11891d commit 9f1b948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/default/consul-init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ case "$1" in
echo "Starting $NAME"
$CMD >> "$LOGFILE" &
echo $! > "$PIDFILE"

# Sleep gives consul time to install its HUP signal handler
sleep 3
if ! is_running; then
echo "Unable to start $NAME, see $LOGFILE"
exit 1
Expand Down

0 comments on commit 9f1b948

Please sign in to comment.