Commit 26d56d02 authored by name's avatar name
Browse files

优化启动脚本

parent b57520e1
...@@ -6,6 +6,11 @@ SslServer="$SslServer" ...@@ -6,6 +6,11 @@ SslServer="$SslServer"
mail="$mail" mail="$mail"
SSL_DIR="/etc/nginx/ssl/app/" SSL_DIR="/etc/nginx/ssl/app/"
if [ -z "$mail" ]; then
echo "[$(date)] Empty env var mail"
mail="youmail@example.com"
fi
if [ -z "$DOMAINS" ]; then if [ -z "$DOMAINS" ]; then
echo "[$(date)] Empty env var DOMAINS" echo "[$(date)] Empty env var DOMAINS"
# exit 1 # exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment