Agent Skills
› netalertx/NetAlertX
› restarting-netalertx-services
restarting-netalertx-services
GitHub管理 devcontainer 内 NetAlertX 服务的启停与状态检查,支持后端、前端、调度器及调试端口控制。
Trigger Scenarios
启动或重启开发服务
停止所有容器内进程
检查服务运行状态
Install
npx skills add netalertx/NetAlertX --skill restarting-netalertx-services -g -y
SKILL.md
Frontmatter
{
"name": "restarting-netalertx-services",
"description": "Control NetAlertX services inside the devcontainer. Use this when asked to start backend, start frontend, start nginx, start php-fpm, start crond, stop services, restart services, or check if services are running."
}
Devcontainer Services
You operate inside the devcontainer. Do not use docker exec.
Start Backend (Python)
/services/start-backend.sh
Backend runs with debugpy on port 5678 for debugging. Takes ~5 seconds to be ready.
Start Frontend (nginx + PHP-FPM)
/services/start-php-fpm.sh &
/services/start-nginx.sh &
Launches almost instantly.
Start Scheduler (CronD)
/services/start-crond.sh
Stop All Services
pkill -f 'php-fpm83|nginx|crond|python3' || true
Check Running Services
pgrep -a 'python3|nginx|php-fpm|crond'
Service Ports
- Frontend (nginx): 20211
- Backend API: 20212
- GraphQL: 20212
- Debugpy: 5678
Version History
- 8aec57b Current 2026-07-24 22:14


