Skip to content
This repository was archived by the owner on Jul 4, 2023. It is now read-only.

Commit 6a3d690

Browse files
author
Riaan Nolan
committed
Merge branch 'feature/fix-boundary' into 'master'
kill boundary processes before starting See merge request all-staff/hashiqube!169
1 parent 4187ddc commit 6a3d690

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Vagrantfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Vagrant::configure("2") do |config|
231231

232232
# install waypoint on nomad
233233
# vagrant up --provision-with waypoint to only run this on vagrant up
234-
config.vm.provision "waypoint", run: "never", type: "shell", preserve_order: true, privileged: true, path: "hashicorp/waypoint.sh", args: "waypoint-nomad"
234+
config.vm.provision "waypoint", type: "shell", preserve_order: true, privileged: true, path: "hashicorp/waypoint.sh", args: "waypoint-nomad"
235235

236236
# install boundary
237237
# vagrant up --provision-with boundary to only run this on vagrant up

hashicorp/boundary.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ listener "tcp" {
3636
}
3737
EOF
3838
echo -e '\e[38;5;198m'"++++ Starting Boundary in dev mode"
39-
pkill boundary
39+
sudo pkill boundary
40+
sudo pkill tail
4041
sleep 10
41-
pkill boundary
42+
sudo pkill boundary
43+
sudo pkill tail
44+
sudo netstat -nlp | grep 19200
4245
nohup boundary dev -api-listen-address 0.0.0.0:19200 > /var/log/boundary.log 2>&1 &
4346
sh -c 'sudo tail -f /var/log/boundary.log | { sed "/Boundary server started/ q" && kill $$ ;}'
4447
echo -e '\e[38;5;198m'"++++ Boundary Server started at http://localhost:19200"

0 commit comments

Comments
 (0)