service monitoring
This commit is contained in:
parent
bd3c8503ab
commit
ae532c3336
@ -3,8 +3,13 @@
|
|||||||
#Start Zabbix
|
#Start Zabbix
|
||||||
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
/usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
|
||||||
|
|
||||||
#Start Nginx
|
|
||||||
/usr/sbin/nginx -g 'daemon on; master_process on;'
|
|
||||||
|
|
||||||
#Start Php-fpm
|
#Start Php-fpm
|
||||||
/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf
|
/usr/sbin/php-fpm7.4 --fpm-config /etc/php/7.4/fpm/php-fpm.conf &
|
||||||
|
|
||||||
|
#Start Nginx
|
||||||
|
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
||||||
|
|
||||||
|
# Wait for any process to exit
|
||||||
|
wait -n
|
||||||
|
# Exit with status of process that exited first
|
||||||
|
exit $?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user