restart_service
Restart system services like nginx or cron through Webmin MCP server. Stop and start services to apply changes or resolve issues with safety controls.
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
TableJSON 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') |