File tree Expand file tree Collapse file tree 10 files changed +60
-0
lines changed Expand file tree Collapse file tree 10 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ RUN set -x \
50
50
| xargs -r apt-mark manual \
51
51
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
52
52
53
+ # https://www.haproxy.org/download/1.8/doc/management.txt
54
+ # "4. Stopping and restarting HAProxy"
55
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
56
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
57
+ STOPSIGNAL SIGUSR1
58
+
53
59
COPY docker-entrypoint.sh /
54
60
ENTRYPOINT ["/docker-entrypoint.sh" ]
55
61
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ RUN set -x \
50
50
&& apk add --virtual .haproxy-rundeps $runDeps \
51
51
&& apk del .build-deps
52
52
53
+ # https://www.haproxy.org/download/1.8/doc/management.txt
54
+ # "4. Stopping and restarting HAProxy"
55
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
56
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
57
+ STOPSIGNAL SIGUSR1
58
+
53
59
COPY docker-entrypoint.sh /
54
60
ENTRYPOINT ["/docker-entrypoint.sh" ]
55
61
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
| xargs -r apt-mark manual \
53
53
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
&& apk add --virtual .haproxy-rundeps $runDeps \
53
53
&& apk del .build-deps
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
| xargs -r apt-mark manual \
53
53
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
&& apk add --virtual .haproxy-rundeps $runDeps \
53
53
&& apk del .build-deps
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
| xargs -r apt-mark manual \
53
53
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
&& apk add --virtual .haproxy-rundeps $runDeps \
53
53
&& apk del .build-deps
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
&& apk add --virtual .haproxy-rundeps $runDeps \
53
53
&& apk del .build-deps
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ RUN set -x \
52
52
| xargs -r apt-mark manual \
53
53
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
54
54
55
+ # https://www.haproxy.org/download/1.8/doc/management.txt
56
+ # "4. Stopping and restarting HAProxy"
57
+ # "when the SIGTERM signal is sent to the haproxy process, it immediately quits and all established connections are closed"
58
+ # "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
59
+ STOPSIGNAL SIGUSR1
60
+
55
61
COPY docker-entrypoint.sh /
56
62
ENTRYPOINT ["/docker-entrypoint.sh" ]
57
63
CMD ["haproxy" , "-f" , "/usr/local/etc/haproxy/haproxy.cfg" ]
You can’t perform that action at this time.
0 commit comments