Skip to content

Commit 19f99df

Browse files
committed
cleanup sock
1 parent 258104a commit 19f99df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/start-nginx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ fi
5454
# We expect nginx to run in foreground.
5555
# We also expect a socket to be at /tmp/nginx.socket.
5656
echo 'buildpack=nginx at=nginx-start'
57+
rm -f /var/run/cabotage/cabotage.sock
5758
cd /tmp
5859
/usr/bin/nginx -p . -c /code/config/nginx.conf
5960
echo 'nginx' >$psmgr

0 commit comments

Comments
 (0)