Skip to content

Commit

Permalink
rm xpipe.properties if exist when refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
md_li committed May 11, 2021
1 parent f90027f commit 3682da2
Showing 2 changed files with 3 additions and 1 deletion.
Empty file modified redis/redis-proxy/src/test/resources/env_set/init.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion redis/redis-proxy/src/test/resources/env_set/refresh.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -10,7 +10,9 @@ cp $CERT_DIR/* /opt/data/100013684/openssl
chown deploy:deploy /opt/data/100013684/openssl/*

###############################reset xpipe.properties###########
rm /opt/data/100013684/xpipe.properties
if [ -f "/opt/data/100013684/xpipe.properties" ]; then
rm /opt/data/100013684/xpipe.properties
fi

echo 'proxy.frontend.tcp.port = 80
proxy.frontend.tls.port = 443

0 comments on commit 3682da2

Please sign in to comment.