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

[add] display pools

This commit is contained in:
Ramil Valitov 2020-07-07 12:24:07 +03:00
parent faf0adacba
commit a8e3d1660f
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914

View File

@ -78,8 +78,11 @@ setupPool() {
POOL_SOCKET="127.0.0.1:$POOL_PORT" POOL_SOCKET="127.0.0.1:$POOL_PORT"
copyPool "$POOL_FILE" "$POOL_NAME" "$POOL_SOCKET" "static" copyPool "$POOL_FILE" "$POOL_NAME" "$POOL_SOCKET" "static"
sudo ls -l "$POOL_DIR"
sudo service "php${PHP_VERSION}-fpm" restart sudo service "php${PHP_VERSION}-fpm" restart
sleep 3
sudo systemctl -l status "php${PHP_VERSION}-fpm.service" sudo systemctl -l status "php${PHP_VERSION}-fpm.service"
sleep 2
} }
setupPools() { setupPools() {