Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
koha-docker
Commits
b9c11edc
Commit
b9c11edc
authored
Jun 14, 2018
by
Benjamin Rokseth
Browse files
entrypoint: add fix for mysql on overlayfs
parent
4a80da8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-entrypoint.sh
View file @
b9c11edc
...
...
@@ -22,6 +22,8 @@ if [ "$KOHA_DBHOST" != "localhost" ]; then
fi
else
printf
"No linked mysql or unable to connect to linked mysql
$KOHA_DBHOST
\n
-- initializing local mysql ...
\n
"
# overlayfs fix for mysql
find /var/lib/mysql
-type
f
-exec
touch
{}
\;
/etc/init.d/mysql start
sleep
1
# waiting for mysql to spin up on slow computers
echo
"127.0.0.1
$KOHA_DBHOST
"
>>
/etc/hosts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment