From b7d220377d977eeae17e8fc7e36b4f01c37df437 Mon Sep 17 00:00:00 2001 From: Koshy John Date: Thu, 6 Jul 2023 11:57:14 -0700 Subject: [PATCH] Setting auto assessment service to type: forking (#203) * Setting auto assessment service to type: forking * Force push with trivial message --- src/core/src/core_logic/ServiceManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/src/core_logic/ServiceManager.py b/src/core/src/core_logic/ServiceManager.py index fbad39a..6e865a6 100644 --- a/src/core/src/core_logic/ServiceManager.py +++ b/src/core/src/core_logic/ServiceManager.py @@ -88,7 +88,8 @@ class ServiceManager(SystemctlManager): # 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" + \