restart_service
Restarts a system service by stopping and then starting it again. Specify the service name (e.g., nginx, cron).
Instructions
Restart a system service. The service will be stopped and then started again. Some critical services (ssh, webmin) may be blocked in safe mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| service | Yes | Name of the service to restart (e.g., 'nginx', 'cron') |