This commit is contained in:
2022-04-25 09:54:03 +08:00
parent 45a7af638f
commit 42b52e1d13
6 changed files with 65 additions and 57 deletions

View File

@@ -131,7 +131,7 @@ function StartProc {
/opt/es/bin/elasticsearch -Epath.data=/opt/es/data -Epath.logs=/opt/es/logs
" &> /dev/null &
PIDS="$PIDS $!"
[ -n "$BOOTSTRAP" ] && SetupPassword
[ -z "$BOOTSTRAP" ] || SetupPassword
}
function Main {