summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/run.sh
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-29 00:44:42 +0100
committerstartxfr <clarue@startx.fr>2015-11-29 00:44:42 +0100
commit78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df (patch)
tree13e05e8d8217a48a0d4decf8564defee11cf35ba /Services/mariadb/run.sh
parenta490cfe364a242b1e9993225758ea6e61369e363 (diff)
downloadphpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.gz
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.bz2
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.xz
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.zip
rewrite mongo and small updates in others
Diffstat (limited to 'Services/mariadb/run.sh')
-rw-r--r--Services/mariadb/run.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/Services/mariadb/run.sh b/Services/mariadb/run.sh
index 22f5f2a..c5ce811 100644
--- a/Services/mariadb/run.sh
+++ b/Services/mariadb/run.sh
@@ -3,9 +3,9 @@ source /bin/sx-lib.sh
function check_mariadb_environment {
check_environment
- if [ ! -v APP_PATH ]; then
- APP_PATH="/data/mariadb"
- export APP_PATH
+ if [ ! -v DATA_PATH ]; then
+ DATA_PATH="/data/mariadb"
+ export DATA_PATH
fi
if [ ! -v LOG_PATH ]; then
LOG_PATH="/data/logs/mariadb"
@@ -17,7 +17,7 @@ function display_container_mariadb_header {
echo "+====================================================="
echo "| Container : $HOSTNAME"
echo "| OS : $(</etc/redhat-release)"
- echo "| Engine : $(mysql -V)"
+ echo "| Engine : $(mysql -V | head -1)"
if [ -v CONTAINER_TYPE ]; then
echo "| Type : $CONTAINER_TYPE"
fi
@@ -27,7 +27,7 @@ function display_container_mariadb_header {
if [ -v CONTAINER_SERVICE ]; then
echo "| Service : $CONTAINER_SERVICE"
fi
- if [ -v APP_PATH ]; then
+ if [ -v DATA_PATH ]; then
echo "| Data path : $DATA_PATH"
fi
if [ -v LOG_PATH ]; then