7 lines
172 B
Bash
7 lines
172 B
Bash
#/bin/bash
|
|
|
|
chown :root -R /execute/db
|
|
chmod g+w -R /execute/db
|
|
envsubst '$NGINX_PORT' < /tmp/nginx.conf > /etc/nginx/nginx.conf
|
|
/usr/sbin/nginx -g "daemon off;" || exit 1
|