service.restart =============== Restart the service specified by `service`. *DEPRECATED: this method is scheduled to be removed in v26.04.* .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: service

service

Type: string
Parameter 2: options

options

Type: object
No Additional Properties

Ha Propagate

Type: boolean Default: true

Silent

Type: boolean Default: true

Return false instead of an error if the operation fails.

Timeout

Default: 120

Type: integer
Type: null

Result

Type: boolean

The service is running after the restart.



*Required roles:* SERVICE_WRITE | SHARING_FTP_WRITE | SHARING_ISCSI_WRITE | SHARING_NFS_WRITE | SHARING_SMB_WRITE