|
@@ -206,5 +206,11 @@ echo "开始重启nginx配置"
|
|
|
/usr/local/openresty/nginx/sbin/nginx -s reload
|
|
|
echo "nginx配置重启完成"echo "开始重启nginx配置"
|
|
|
|
|
|
+#临时服务器清空之前的临时资源
|
|
|
+ssh -i $TEMP_PEM -p 22 -o IdentitiesOnly=yes $TEMP_USER_NAME@$TEMP_IP << EOF
|
|
|
+ sudo -i
|
|
|
+ sh /opt/adweb3/shell/remove-wpsite.sh $SITE_CODE
|
|
|
+ exit
|
|
|
+EOF
|
|
|
|
|
|
echo "[Creation completed]"
|