From a645239faccb473706803c2904f93250eede3345 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 10 Jun 2023 18:34:23 +0200 Subject: [PATCH] Fix pid file name --- templates/monit.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/monit.j2 b/templates/monit.j2 index 5c322a6..31adc10 100644 --- a/templates/monit.j2 +++ b/templates/monit.j2 @@ -1,6 +1,6 @@ # {{ ansible_managed }} -check process php-fpm with pidfile /run/php/php{{ php_version.stdout }}.pid +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"