Merge pull request #816 from lcobucci/define-stopsignal-for-fpm

Perform graceful stops on PHP-FPM
This commit is contained in:
Tianon Gravi 2019-04-23 14:30:24 -07:00 committed by GitHub
commit b248f8fe4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 66 additions and 0 deletions

View File

@ -213,5 +213,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -213,5 +213,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -239,5 +239,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -239,5 +239,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -222,5 +222,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -222,5 +222,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -261,5 +261,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -224,5 +224,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -224,5 +224,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -263,5 +263,11 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]
##</autogenerated>##

View File

@ -39,4 +39,10 @@ RUN set -ex \
} | tee php-fpm.d/zz-docker.conf
EXPOSE 9000
# Override stop signal to stop process gracefully
#
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
STOPSIGNAL SIGQUIT
CMD ["php-fpm"]