* added --address flags for API port Authored-by: kuksik <nazzar.lito@gmail.com>
This commit is contained in:
parent
0aaf0c99b8
commit
0257e8e776
|
|
@ -87,7 +87,7 @@ is_minio_running() {
|
|||
#########################
|
||||
minio_start_bg() {
|
||||
local -r exec=$(command -v minio)
|
||||
local -a args=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}")
|
||||
local -a args=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}" "--address" ":${MINIO_API_PORT_NUMBER}")
|
||||
local -a nodes
|
||||
|
||||
if is_boolean_yes "$MINIO_DISTRIBUTED_MODE_ENABLED"; then
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ set -o pipefail
|
|||
|
||||
# Constants
|
||||
EXEC=$(command -v minio)
|
||||
ARGS=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}")
|
||||
ARGS=("server" "--certs-dir" "${MINIO_CERTS_DIR}" "--console-address" ":${MINIO_CONSOLE_PORT_NUMBER}" "--address" ":${MINIO_API_PORT_NUMBER}")
|
||||
# Add any extra flags passed to this script
|
||||
ARGS+=("$@")
|
||||
if is_boolean_yes "$MINIO_DISTRIBUTED_MODE_ENABLED"; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue