diff options
Diffstat (limited to 'Services/mariadb/run.sh')
-rw-r--r-- | Services/mariadb/run.sh | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/Services/mariadb/run.sh b/Services/mariadb/run.sh index a2e4dfb..22f5f2a 100644 --- a/Services/mariadb/run.sh +++ b/Services/mariadb/run.sh @@ -3,22 +3,12 @@ source /bin/sx-lib.sh function check_mariadb_environment { check_environment - if [ ! -v SERVER_NAME ]; then - SERVER_NAME="localhost" - export SERVER_NAME - echo "! WARNING : environment var SERVER_NAME is missing..." - echo "! WARNING : auto-assigned value : $SERVER_NAME" - fi - if [ ! -v DOC_ROOT ]; then - DOC_ROOT="/data/apache" - export DOC_ROOT - fi if [ ! -v APP_PATH ]; then - APP_PATH="/data/apache" + APP_PATH="/data/mariadb" export APP_PATH fi if [ ! -v LOG_PATH ]; then - LOG_PATH="/data/logs/apache" + LOG_PATH="/data/logs/mariadb" export LOG_PATH fi } @@ -37,9 +27,6 @@ function display_container_mariadb_header { if [ -v CONTAINER_SERVICE ]; then echo "| Service : $CONTAINER_SERVICE" fi - if [ -v CONTAINER_SERVICE ]; then - echo "| ServerName : $SERVER_NAME" - fi if [ -v APP_PATH ]; then echo "| Data path : $DATA_PATH" fi |