php-fpm and nginx service monitoring
This commit is contained in:
parent
ae532c3336
commit
05e44e4889
@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Start Zabbix
|
#Start Zabbix
|
||||||
|
#/usr/sbin/zabbix_server --foreground -c /etc/zabbix/zabbix_server.conf &
|
||||||
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
||||||
|
|
||||||
#Start Php-fpm
|
#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
|
#Start Nginx
|
||||||
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user