service_restart
Restarts a specified systemd service after explicit confirmation and owner sudo authorization, enabling controlled recovery of failed or updated services on a Linux server.
Instructions
Restart a systemd service (requires confirm=true and the owner's sudo authorization).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |