mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
harpoon has been renamed to nami
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "harpoon" && "$2" == "start" ]]; then
|
||||
status=`harpoon inspect $BITNAMI_APP_NAME`
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]]; then
|
||||
status=`nami inspect $BITNAMI_APP_NAME`
|
||||
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
||||
harpoon initialize $BITNAMI_APP_NAME \
|
||||
nami initialize $BITNAMI_APP_NAME \
|
||||
${MARIADB_ROOT_PASSWORD:+--rootPassword $MARIADB_ROOT_PASSWORD} \
|
||||
${MARIADB_USER:+--username $MARIADB_USER} \
|
||||
${MARIADB_PASSWORD:+--password $MARIADB_PASSWORD} \
|
||||
|
||||
Reference in New Issue
Block a user