Skip to content

Commit

Permalink
Add -W
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Sep 29, 2023
1 parent f46b764 commit fed2559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
openssl req -nodes -new -x509 -subj '/CN=*' -sha256 -keyout /etc/privkey.pem -out /etc/fullchain.pem -days 365000 > /dev/null 2>&1
cat /etc/fullchain.pem /etc/privkey.pem | tee /etc/cert.pem > /dev/null 2>&1
if [ "$NOPOST" = "1" ]; then
haproxy -f /etc/haproxy/haproxy-no-post.cfg -db
haproxy -f /etc/haproxy/haproxy-no-post.cfg -W -db
else
haproxy -f /etc/haproxy/haproxy.cfg -db
haproxy -f /etc/haproxy/haproxy.cfg -W -db
fi

0 comments on commit fed2559

Please sign in to comment.