Manage system services (start, stop, restart, enable, disable, status)
Manages Linux system services including start, stop, restart, enable, disable, and status checks.
/plugin marketplace add dsyorkd/system-admin/plugin install dsyorkd-system-admin@dsyorkd/system-adminManage Linux system services using the manage_service.py tool.
This command orchestrates the system-admin skill's service management tool.
Architecture:
Parse user request or $ARGUMENTS:
Invoke the manage_service.py tool:
python3 ./skills/system-admin/scripts/manage_service.py <action> <service> [OPTIONS]
Read the output and report to user
Check service status:
User: /manage-service status nginx
Run: python3 ./skills/system-admin/scripts/manage_service.py status nginx
Report the service status from output
Restart a service:
User: /manage-service restart postgresql
Run: python3 ./skills/system-admin/scripts/manage_service.py restart postgresql --yes
Report success/failure
Enable at boot:
User: /manage-service enable docker
Run: python3 ./skills/system-admin/scripts/manage_service.py enable docker
Report that service is now enabled
Show status with logs:
User: /manage-service status nginx --logs
Run: python3 ./skills/system-admin/scripts/manage_service.py status nginx --logs --lines 30
Show status and recent log entries
start - Start a stopped servicestop - Stop a running servicerestart - Restart a servicestatus - Check service statusenable - Enable service at bootdisable - Disable service at bootis-active - Check if running (returns 0/1)is-enabled - Check if enabled (returns 0/1)--yes to skip confirmation for stop/restart/disable--logs with status to see recent logs--dry-run to preview without executing