server_service
Manage systemd services by checking status, starting, stopping, restarting, reloading, enabling, or disabling units, with previews before changes.
Instructions
Manage a systemd service. action: status, start, stop, restart, reload, enable, disable.
status is read only and runs right away. The others show a preview first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| unit | Yes | ||
| action | No | status | |
| as_root | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |