Restart a service using the appropriate method if the specified class is true, otherwise it is considered as not required and success classes are returned.
⚙️ Compatible targets: Linux
⚠️ Deprecated: This method is deprecated and should not be used.
|name||Name of the service.|
This parameter is required.
|expression||Condition expression which will trigger the restart of Service "(package_service_installed|
method: service_restart_if params: name: VALUE expression: VALUE
See service_action for documentation.