Skip to content

Commit ba19ac2

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
fix(boot): dot remove docker.pid, fix sock test
1 parent e07b18d commit ba19ac2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

builder/bin/boot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ until confd -onetime -node $ETCD -config-file /app/confd.toml; do
3232
done
3333

3434
# remove any pre-existing docker.sock
35-
test -e /var/run/run/docker.sock && rm -f /var/run/docker.sock
35+
test -e /var/run/docker.sock && rm -f /var/run/docker.sock
3636

3737
# spawn a docker daemon to run builds
3838
docker -d &
@@ -53,7 +53,6 @@ SSHD_PID=$!
5353

5454
# smart shutdown on SIGINT and SIGTERM
5555
function on_exit() {
56-
rm -f /var/run/docker.pid
5756
kill -TERM $DOCKER_PID $SSHD_PID
5857
wait $DOCKER_PID $SSHD_PID 2>/dev/null
5958
}

0 commit comments

Comments
 (0)