ssh_service_status
Check systemd service or Docker container status, view logs, or control start, stop, and restart operations on a remote server via SSH.
Instructions
Check status, view logs, start, stop, or restart a systemd service or Docker container on the remote server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of log lines to retrieve if action is "logs" (default: 50). | |
| action | No | The action to perform on the service (default: "status"). | |
| serverId | Yes | The ID of the target server. | |
| serviceName | Yes | The systemd service name (e.g. "nginx", "docker", "redis-server") or container name. |