reboot Service

fun rebootService(service: HostService, onStatusChange: () -> Unit)

Method used to reboot a service

Parameters

service

The service to reboot

onStatusChange

The callback to execute when the status of the service changed