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:
parent
573c9b3123
commit
a35cb432b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user