Skip to content

Commit

Permalink
more resilient bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 2, 2024
1 parent 5f8bb3c commit dfc6ba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,5 @@ if [ ! $FIRST ]; then
nomad server members
echo
fi

exit 0
3 changes: 1 addition & 2 deletions bin/shutdown.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/zsh -eu
#!/bin/zsh -u

# cleanly & quietly shutdown so we dont have a dangling supervisord socket at `podman commit` time
(
cd /etc/supervisor
supervisorctl stop nomad
supervisorctl stop consul
supervisorctl stop consul-template
Expand Down

0 comments on commit dfc6ba8

Please sign in to comment.