service_control
Control systemd services on remote servers by starting, stopping, restarting, reloading, enabling, or disabling units via SSH.
Instructions
Start, stop, restart, reload, enable or disable a systemd unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Configured host name | |
| unit | Yes | systemd unit name | |
| action | Yes | One of: start, stop, restart, reload, enable, disable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |