8 lines
194 B
Bash
8 lines
194 B
Bash
#!/bin/sh
|
|
|
|
echo "[ INFO ] Recursively setting default nginx:nginx permissions on web directory"
|
|
chown -R nginx:nginx /var/www
|
|
|
|
echo "[ INFO ] Starting nginx"
|
|
nginx -g "daemon off;" # Foreground
|