From 902036c0ec5c4a6027b14e1d90dd5583638e2b7c Mon Sep 17 00:00:00 2001 From: luzik Date: Mon, 26 Sep 2016 19:52:53 +0200 Subject: [PATCH] Docker bug workaround 'Text file busy' This is workaround of this docker issue https://github.com/docker/docker/issues/9547 --- pandora_server/docker_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/docker_entrypoint.sh b/pandora_server/docker_entrypoint.sh index 9529488f2b..38fc841da2 100755 --- a/pandora_server/docker_entrypoint.sh +++ b/pandora_server/docker_entrypoint.sh @@ -38,7 +38,7 @@ fi #Create the pandora user to run the anyterd, mainly /usr/sbin/useradd -d /home/pandora -s /bin/false -M -g 0 pandora -cd /tmp/pandorafms/pandora_server && chmod +x pandora_server_installer && ./pandora_server_installer --install +cd /tmp/pandorafms/pandora_server && chmod +x pandora_server_installer && sync && ./pandora_server_installer --install #Configure the Pandora FMS Server to connect to the database sed -i "s/dbname pandora/dbname $PANDORA_DB_NAME/g" /etc/pandora/pandora_server.conf