Skip to content

Commit

Permalink
Use SIGQUIT instead of SIGTERM for graceful shutdown of nginx
Browse files Browse the repository at this point in the history
Fixes #377, #457
  • Loading branch information
pscheid92 authored and thresheek committed Nov 24, 2020
1 parent 08d37de commit 3fb70dd
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion mainline/alpine-perl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion mainline/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion mainline/debian-perl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion mainline/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion stable/alpine-perl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion stable/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion stable/debian-perl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion stable/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 3fb70dd

Please sign in to comment.