How can I enable HailoRT service in python?

I searched the documentation, and find this command " sudo systemctl enable --now hailort.service" that should be run from bash. however, it still doesn’t work, and I need to enable it in my python code

When creating the vdevice params group, one should define the “multi_process_service” parameter as True.

Here’s an example function that does it:

def create_vdevice_params():
    params = VDevice.create_params()
    params.scheduling_algorithm = HailoSchedulingAlgorithm.ROUND_ROBIN
    params.multi_process_service = True
    return params