Last active
April 22, 2020 17:57
-
-
Save eksiscloud/4df9cbd80185bf7959145e8788bff325 to your computer and use it in GitHub Desktop.
Monit: PHP-FPM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PHP-FPM | |
check process php7.3-fpm with pidfile /var/run/php/php7.3-fpm.pid | |
start program = "/usr/sbin/service php7.3-fpm start" with timeout 60 seconds | |
stop program = "/usr/sbin/service php7.3-fpm stop" | |
if failed unixsocket /var/run/php/php7.3-fpm.sock then restart | |
if 2 restarts within 2 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment