service_restart
Restart a systemd service on a chosen or default host. Use it to apply changes or recover a failed unit through opsgate with policy checks and approval.
Instructions
Restart a systemd service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| name | Yes | systemd unit name, for example nginx or docker.service |