Added command to execute friendBook SQL script

This commit is contained in:
William Miceli
2019-11-24 14:25:51 -05:00
parent 3dec2ea750
commit 0f527de9a7

View File

@@ -1,10 +1,15 @@
#!/bin/sh
# Starting base services
echo "[ INFO ] Starting MySQL Server"
service mysql start
echo "[ INFO ] Starting PHP 7.2 Service"
service php7.2-fpm start
# Running friendBook database setup script
echo "[ INFO ] Setting up friendBook database"
mysql -u root < /scripts/friendBook.sql
echo "[ INFO ] Starting nginx"
nginx -g "daemon off;" # Foreground