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:
parent
faf0adacba
commit
a8e3d1660f
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user