Added command to execute friendBook SQL script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user