Make nginx to be process 1 to accept SIGTERM signal (#746)
This commit is contained in:
parent
8334d36f34
commit
e7a5088b97
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
sed -i "s|http://127.0.0.1:9090|$YACD_DEFAULT_BACKEND|" /usr/share/nginx/html/index.html
|
||||
nginx -g "daemon off;"
|
||||
exec nginx -g "daemon off;"
|
||||
|
|
Loading…
Reference in a new issue