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

[del] localhost

This commit is contained in:
Ramil Valitov 2020-06-29 03:02:55 +03:00
parent d8eb7a3de5
commit e2264c575a
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@ setupPool() {
NEW_POOL_FILE="$POOL_DIR/${POOL_NAME}.conf"
sudo cp "$POOL_FILE" "$NEW_POOL_FILE"
sudo sed -i "s#listen =.*#listen = 127.0.0.1:$POOL_PORT#" "$NEW_POOL_FILE"
sudo sed -i "s#listen =.*#listen = $POOL_PORT#" "$NEW_POOL_FILE"
sudo sed -i "s#\[www\]#[$POOL_NAME]#" "$NEW_POOL_FILE"
done

View File

@ -163,7 +163,6 @@ function ProcessPool() {
fi
PrintDebug "Failed to validate status data for pool $POOL_NAME, socket $POOL_SOCKET, status path $STATUS_PATH"
PrintDebug "Status script returned: $STATUS_JSON"
if [[ -n ${STATUS_JSON} ]]; then
PrintDebug "Status script returned: $STATUS_JSON"
fi