Skip to main content
Glama

control_service

Destructive

Start, stop, or restart systemd services; stop dependent services too when needed to prevent dependency-related failures.

Instructions

Starts, stops or restarts a systemd service (systemd services cannot be paused). Stopping one that others depend on fails unless with_dependents=true.

Input Schema

NameRequiredDescriptionDefault
nameYesThe service's name (as in `sc query`).
actionYesstart, stop, restart, pause or continue.
with_dependentsNoFor stop and restart: also stop the running services that depend on it (otherwise Windows refuses while any runs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

Score is being calculated.