service.stop

Stop the service specified by service.

DEPRECATED: this method is scheduled to be removed in v26.04.

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

true if the service stopped successfully.



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