7 lines
345 B
Bash
Executable File
7 lines
345 B
Bash
Executable File
#!/bin/bash
|
|
# V27 V89 scale - Opus WIRE continue - Skill: php-fpm-status
|
|
# Description: PHP-FPM pool status
|
|
# Whitelist-safe timeout 8s
|
|
set -e
|
|
timeout 8 bash -c 'curl -sk http://localhost/status 2>/dev/null | head -c 300 || echo '{"fpm":"no status endpoint"}'' 2>&1 || echo "{\"skill\":\"php-fpm-status\",\"error\":\"timeout_or_missing_tool\"}"
|