Skip to content

Commit 4cc0c46

Browse files
authored
Merge pull request dtan4#4 from dtan4/stopsignal
Use SIGQUIT for container shutdown
2 parents c3827ad + 1c5190f commit 4cc0c46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ ENV WORKER_PROCESSES auto
1313
COPY files/run.sh /
1414
COPY files/nginx.conf.tmpl /
1515

16+
# use SIGQUIT for graceful shutdown
17+
# c.f. http://nginx.org/en/docs/control.html
18+
STOPSIGNAL SIGQUIT
19+
1620
ENTRYPOINT ["/run.sh"]

0 commit comments

Comments
 (0)