diff --git a/src/core/src/core_logic/ServiceManager.py b/src/core/src/core_logic/ServiceManager.py index fbad39aa..6e865a6e 100644 --- a/src/core/src/core_logic/ServiceManager.py +++ b/src/core/src/core_logic/ServiceManager.py @@ -88,7 +88,8 @@ def is_service_enabled(self): # endregion # region - Service Unit Management - def create_service_unit_file(self, exec_start, desc, after="network.target", service_type="notify", wanted_by="multi-user.target"): + def create_service_unit_file(self, exec_start, desc, after="network.target", service_type="forking", wanted_by="multi-user.target"): + """ Note: Service type defaults to forking because of sh to py process fork """ service_unit_content_template = "\n[Unit]" + \ "\nDescription={0}" + \ "\nAfter={1}\n" + \