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:
parent
d8eb7a3de5
commit
e2264c575a
@ -38,7 +38,7 @@ setupPool() {
|
|||||||
NEW_POOL_FILE="$POOL_DIR/${POOL_NAME}.conf"
|
NEW_POOL_FILE="$POOL_DIR/${POOL_NAME}.conf"
|
||||||
sudo cp "$POOL_FILE" "$NEW_POOL_FILE"
|
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"
|
sudo sed -i "s#\[www\]#[$POOL_NAME]#" "$NEW_POOL_FILE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -163,7 +163,6 @@ function ProcessPool() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
PrintDebug "Failed to validate status data for pool $POOL_NAME, socket $POOL_SOCKET, status path $STATUS_PATH"
|
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
|
if [[ -n ${STATUS_JSON} ]]; then
|
||||||
PrintDebug "Status script returned: $STATUS_JSON"
|
PrintDebug "Status script returned: $STATUS_JSON"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user