Skip to content

Commit f0400d4

Browse files
authored
Merge pull request #12 from linuxserver/test
Update Dockerfile
2 parents 2cd31c5 + d8ecd48 commit f0400d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Find custom.cnf in /config for config changes (restart container for them to tak
8888
`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/mariadb`
8989

9090
## Versions
91+
92+
+ **27.10.16:** Implement linting suggestions on database init script.
9193
+ **11.10.16:** Rebase to ubuntu xenial, add version labelling.
9294
+ **09.03.16:** Update to mariadb 10.1. Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile.
9395
+ **26.01.16:** Change user of mysqld_safe script to abc, better unclean shutdown handling on restart.

root/etc/cont-init.d/40-initialise-db

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ echo "Database Setup Completed"
6969

7070
# display a message about password if not set or too short
7171
if [ "$TEST_LEN" -lt "4" ]; then
72-
echo "$(cat /tmp/no-pass.nfo)"
72+
printf "\n\n\n%s\n\n\n" "$(</tmp/no-pass.nfo)"
7373
sleep 5s
7474
fi
7575

0 commit comments

Comments
 (0)