3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[add] info how to use this script

This commit is contained in:
Ramil Valitov 2019-11-26 18:26:21 +03:00
parent 573c9b3123
commit a35cb432b9
No known key found for this signature in database
GPG Key ID: 645768E8FD0E18C7

View File

@ -18,9 +18,10 @@ fi
if [[ -z $1 ]] || [[ -z $2 ]]; then if [[ -z $1 ]] || [[ -z $2 ]]; then
echo "No input data specified" echo "No input data specified"
echo "Usage: $0 socket status" echo "Usage: $0 php-path status"
echo "where:" echo "where:"
echo "socket - path to socket file, for example, /var/lib/php7.3-fpm/web1.sock" echo "php-path - path to socket file, for example, /var/lib/php7.3-fpm/web1.sock"
echo "or IP and port of the PHP-FPM, for example, 127.0.0.1:9000"
echo "status - path configured in pm.status of PHP-FPM" echo "status - path configured in pm.status of PHP-FPM"
exit 1 exit 1
fi fi