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 of the service.
This parameter is required.
|Condition expression which will trigger the restart of Service "(package_service_installed
See service_action for documentation.