php-fpm and nginx service monitoring

This commit is contained in:
Shihaam Abdul Rahman 2022-09-13 15:23:48 +05:00
parent ae532c3336
commit 05e44e4889
Signed by: shihaam
GPG Key ID: 3B007D22E5584980

View File

@ -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;' &