11 lines
262 B
Bash
11 lines
262 B
Bash
#!/bin/sh
|
|
|
|
echo "[ INFO ] Recursively setting www-data:www-data permissions on root web directory"
|
|
chown -R www-data:www-data /var/www
|
|
|
|
echo "[ INFO ] Starting MySQL Server"
|
|
service mysql start
|
|
|
|
echo "[ INFO ] Starting nginx"
|
|
nginx -g "daemon off;" # Foreground
|