mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-25 17:27:33 +00:00
Merge "Make glance nginx.sh POSIX compatible"
This commit is contained in:
@@ -3,14 +3,14 @@ set -xe
|
||||
|
||||
COMMAND="${@:-start}"
|
||||
|
||||
function start () {
|
||||
start () {
|
||||
envsubst < /etc/nginx/nginx.conf > /tmp/nginx.conf
|
||||
cat /tmp/nginx.conf
|
||||
nginx -t -c /tmp/nginx.conf
|
||||
exec nginx -c /tmp/nginx.conf
|
||||
}
|
||||
|
||||
function stop () {
|
||||
stop () {
|
||||
nginx -s stop
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user