Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-09-23 20:10:34 +0300
committernachoparker <nacho@ownyourbits.com>2018-09-23 23:48:50 +0300
commita7f0fd2d2f8b76905070720fbd662de3d1f95716 (patch)
tree2531df8a28a91312c07acb848fefbbf6dfac1746 /bin/ncp-diag
parent1bfcebc2d8e5df00028b41d3142e67e0c0ae1c02 (diff)
build: use a separate file for NCP database configv0.60.4
Diffstat (limited to 'bin/ncp-diag')
-rw-r--r--bin/ncp-diag2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag
index 3276e9bc..28e7c1a4 100644
--- a/bin/ncp-diag
+++ b/bin/ncp-diag
@@ -37,7 +37,7 @@ SWP="$( swapon | tail -1 | awk '{ print $1 }' )"
echo "swapfile|$SWP"
# Database
-DBDIR=$( grep datadir /etc/mysql/mariadb.conf.d/50-server.cnf | awk -F "= " '{ print $2 }' )
+DBDIR=$( grep datadir /etc/mysql/mariadb.conf.d/90-ncp.cnf | awk -F "= " '{ print $2 }' )
test -d "$DBDIR" || DBDIRINFO=" (doesn't exist)"
echo "dbdir|$DBDIR$DBDIRINFO"