Manage Device Service
sailfish_device_restart_serviceStart, stop, restart, or check status of systemd services on Sailfish OS devices via SSH. Specify service unit, action, and mode (system or user).
Instructions
Run systemctl start/stop/restart/status for a system or user service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | system | |
| unit | Yes | ||
| action | No | restart | |
| device | No | Configured device alias or ssh target. When the user says the device is attached over USB, use 'usb' for the default device or 'usb:<name>' when the user supplies a device name. The USB connection trusts that name for device metadata and does not resolve it through DNS. | |
| timeout | No | Command timeout in seconds. |