Docker bug workaround 'Text file busy'

This is workaround  of this docker issue https://github.com/docker/docker/issues/9547
This commit is contained in:
luzik 2016-09-26 19:52:53 +02:00 committed by GitHub
parent 0b696e9c3b
commit 902036c0ec
1 changed files with 1 additions and 1 deletions

View File

@ -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