10 lines
215 B
Bash
Executable File
10 lines
215 B
Bash
Executable File
#!/bin/bash
|
|
echo "Making sure directories already exist..."
|
|
echo -n "Starting nginx "
|
|
|
|
mkdir -p /usr/local/var/log/nginx/
|
|
mkdir -p /usr/local/var/run/nginx/
|
|
|
|
nginx -c ${PWD}/conf/nginx.conf
|
|
echo "nginx configured."
|