restart_service
Restart firewall services (unbound, dhcpd, openvpn) with dry-run preview and target support; excludes management API services to avoid cutting the connection.
Instructions
[WRITE][risk=medium] Restart a firewall service (unbound, dhcpd, openvpn, ...).
REFUSES the service that answers this appliance's own management API (nginx / lighttpd / configd / webgui and friends): restarting it kills the connection this tool is using, so the restart cannot be observed and the undo cannot run. Restart those from the console instead. Pass dry_run=True to preview.
Args: service: Service name to restart. dry_run: If True, preview without restarting. target: Firewall target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| service | Yes |