From 05e44e488934efc1d5da476e4a05262b87255685 Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Tue, 13 Sep 2022 15:23:48 +0500 Subject: [PATCH] php-fpm and nginx service monitoring --- startservices.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/startservices.sh b/startservices.sh index c6330e9..0ca0e01 100644 --- a/startservices.sh +++ b/startservices.sh @@ -1,10 +1,11 @@ #!/bin/bash #Start Zabbix +#/usr/sbin/zabbix_server --foreground -c /etc/zabbix/zabbix_server.conf & /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf #Start Php-fpm -/usr/sbin/php-fpm7.4 --fpm-config /etc/php/7.4/fpm/php-fpm.conf & +/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf & #Start Nginx /usr/sbin/nginx -g 'daemon off; master_process on;' &