mirror of
https://github.com/danog/php.git
synced 2025-01-22 04:51:20 +01:00
Merge pull request #816 from lcobucci/define-stopsignal-for-fpm
Perform graceful stops on PHP-FPM
This commit is contained in:
commit
b248f8fe4c
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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>##
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user