Agent Skillsnetalertx/NetAlertX › restarting-netalertx-services

restarting-netalertx-services

GitHub

管理 devcontainer 内 NetAlertX 服务的启停与状态检查,支持后端、前端、调度器及调试端口控制。

.github/skills/devcontainer-services/SKILL.md netalertx/NetAlertX

Trigger Scenarios

启动或重启开发服务 停止所有容器内进程 检查服务运行状态

Install

npx skills add netalertx/NetAlertX --skill restarting-netalertx-services -g -y
More Options

Non-standard path

npx skills add https://github.com/netalertx/NetAlertX/tree/main/.github/skills/devcontainer-services -g -y

Use without installing

npx skills use netalertx/NetAlertX@restarting-netalertx-services

指定 Agent (Claude Code)

npx skills add netalertx/NetAlertX --skill restarting-netalertx-services -a claude-code -g -y

安装 repo 全部 skill

npx skills add netalertx/NetAlertX --all -g -y

预览 repo 内 skill

npx skills add netalertx/NetAlertX --list

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

Same Skill Collection

.gemini/skills/devcontainer-management/SKILL.md
.gemini/skills/mcp-activation/SKILL.md
.gemini/skills/project-navigation/SKILL.md
.gemini/skills/settings/SKILL.md
.gemini/skills/skills-index/SKILL.md
.gemini/skills/testing-workflow/SKILL.md
.github/skills/api-development/SKILL.md
.github/skills/authentication/SKILL.md
.github/skills/code-standards/SKILL.md
.github/skills/database-patterns/SKILL.md
.github/skills/database-reset/SKILL.md
.github/skills/devcontainer-configs/SKILL.md
.github/skills/devcontainer-setup/SKILL.md
.github/skills/docker-build/SKILL.md
.github/skills/docker-prune/SKILL.md
.github/skills/mcp-activation/SKILL.md
.github/skills/plugin-run-development/SKILL.md
.github/skills/project-navigation/SKILL.md
.github/skills/sample-data/SKILL.md
.github/skills/settings-management/SKILL.md
.github/skills/skills-overview/SKILL.md
.github/skills/testing-workflow/SKILL.md

Metadata

Files
0
Version
548d698
Hash
9c98a75f
Indexed
2026-07-24 22:14

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 10:26
浙ICP备14020137号-1 $Гость$