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:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 16:54:06 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 16:54:06 +0300
commit99f4285e8ebc63128c5ef313459eb4194037ec29 (patch)
tree2274f261376fb34d1f0c7aa44d07b6fbfb43d818
parent77a2d0cdf936bbf2b13515b578dc5241ffee1bc5 (diff)
run-parts.sh: Prevent mariadb to start with /data-ro/* as db dir
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
-rwxr-xr-xbuild/docker/debian-ncp/run-parts.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/docker/debian-ncp/run-parts.sh b/build/docker/debian-ncp/run-parts.sh
index 6ae2c4e0..0099a5a1 100755
--- a/build/docker/debian-ncp/run-parts.sh
+++ b/build/docker/debian-ncp/run-parts.sh
@@ -8,6 +8,8 @@ cleanup()
exit
}
+sed -i 's|/data-ro|/data|' "/etc/mysql/mariadb.conf.d/90-ncp.cnf" || true
+
trap cleanup SIGTERM
# if an empty volume is mounted to /data, pre-populate it