From fb8b1d756345575b5b14bec07628778fb42dbcde Mon Sep 17 00:00:00 2001 From: Koshy John Date: Thu, 6 Jul 2023 09:07:23 -0700 Subject: [PATCH 1/2] Setting auto assessment service to type: forking --- src/core/src/core_logic/ServiceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/core_logic/ServiceManager.py b/src/core/src/core_logic/ServiceManager.py index fbad39aa..244aa794 100644 --- a/src/core/src/core_logic/ServiceManager.py +++ b/src/core/src/core_logic/ServiceManager.py @@ -88,7 +88,7 @@ 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"): service_unit_content_template = "\n[Unit]" + \ "\nDescription={0}" + \ "\nAfter={1}\n" + \ From 07f7f24d2612f4d0563c82de23bfb93fb72accc3 Mon Sep 17 00:00:00 2001 From: Koshy John Date: Thu, 6 Jul 2023 09:47:30 -0700 Subject: [PATCH 2/2] Force push with trivial message --- src/core/src/core_logic/ServiceManager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/src/core_logic/ServiceManager.py b/src/core/src/core_logic/ServiceManager.py index 244aa794..6e865a6e 100644 --- a/src/core/src/core_logic/ServiceManager.py +++ b/src/core/src/core_logic/ServiceManager.py @@ -89,6 +89,7 @@ def is_service_enabled(self): # region - Service Unit Management 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" + \