بنقرة واحدة
systemd-services
Manage systemd services on Linux servers - start, stop, restart, enable, check logs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Manage systemd services on Linux servers - start, stop, restart, enable, check logs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Essential file system operations.
Common Git version control operations.
Upload, download, and edit files on remote servers via NAVIG
Summarize web pages, articles, YouTube videos, and documents using AI
Query and manage databases on remote servers via NAVIG
Check GitHub repos, CI status, PRs, and issues using the gh CLI
| name | systemd-services |
| description | Manage systemd services on Linux servers - start, stop, restart, enable, check logs |
| user-invocable | true |
| os | ["linux"] |
| navig-commands | ["navig run \"systemctl status {service}\"","navig run \"systemctl start {service}\"","navig run \"systemctl stop {service}\"","navig run \"systemctl restart {service}\"","navig run \"systemctl enable {service}\"","navig run \"journalctl -u {service} --no-pager -n 50\""] |
| examples | ["Is nginx running?","Restart the MySQL service","Show me service logs","What services are failed?","Enable the service to start on boot"] |
Manage services on Linux servers using systemd — start, stop, restart, check status, view logs.
User says: "Is nginx running?" / "Check MySQL status"
navig run "systemctl status {service} --no-pager"
Response format:
🔧 Service: nginx
Status: ✅ Active (running)
PID: 1234
Uptime: 15 days
Memory: 32MB
Last log entries:
[OK] Started Nginx web server
navig run "systemctl start {service}"
⚠️ Confirm first: "This will stop {service}. Continue?"
navig run "systemctl stop {service}"
navig run "systemctl restart {service}"
Response:
🔄 Restarting {service}...
✅ Service restarted successfully!
navig run "systemctl reload {service}"
navig run "systemctl enable {service}"
navig run "systemctl disable {service}"
navig run "journalctl -u {service} --no-pager -n 50"
navig run "journalctl -u {service} --no-pager -b"
navig run "journalctl -u {service} --since '1 hour ago' --no-pager"
User says: "Are any services failing?"
navig run "systemctl --failed --no-pager"
Response format:
🔧 Service Health on {host}:
❌ Failed services:
• php8.2-fpm.service - PHP FastCGI Process Manager
• certbot.timer - Certificate renewal timer
✅ All other services running normally
💡 Fix php-fpm: check `journalctl -u php8.2-fpm -n 30`
navig run "systemctl list-units --type=service --state=running --no-pager"
navig run "systemctl list-unit-files | grep {service}"
| Service | Package | Default Port |
|---|---|---|
nginx | nginx | 80, 443 |
apache2 | apache2 | 80, 443 |
mysql | mysql-server | 3306 |
postgresql | postgresql | 5432 |
redis-server | redis | 6379 |
docker | docker-ce | - |
ssh / sshd | openssh-server | 22 |
ufw | ufw | - |
fail2ban | fail2ban | - |
cron | cron | - |
status, list-units, journalctl (read-only)start, restart, reload (service disruption)stop, disable (takes service offline)journalctl -u {service}"navig run --sudo 'systemctl restart {service}'"