Fix socket name

This commit is contained in:
phil 2023-06-10 19:34:28 +02:00
parent a645239fac
commit dd180f3028

View file

@ -4,5 +4,5 @@ check process php-fpm with pidfile /run/php/php{{ php_version.stdout }}-fpm.pid
group webserver
start program = "/usr/sbin/service php{{ php_version.stdout }}-fpm start"
stop program = "/usr/sbin/service php{{ php_version.stdout }}-fpm stop"
if failed unixsocket /run/php/{{ php_version.stdout }}-fpm.sock for 3 cycles then restart
if failed unixsocket /run/php/php{{ php_version.stdout }}-fpm.sock for 3 cycles then restart
if 3 restarts within 5 cycles then timeout