mirror of
https://github.com/docker-library/haproxy.git
synced 2026-11-20 21:29:04 +03:00
Stop with SIGUSR1
To stop haproxy gracefully, SIGUSR1 is required. Currently, we just use SIGTERM, which is a hard stop.
This commit is contained in:
1 parent
50a14f801a
commit
063fd36e2a
10 files changed
+10
No files matched your search
@@ -53,3 +53,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -53,3 +53,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
@@ -55,3 +55,4 @@ RUN set -x \
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg"]
|
||||
STOPSIGNAL SIGUSR1
|
||||
Reference in new issue
Block a user