Setting auto assessment service to type: forking (#203)
* Setting auto assessment service to type: forking * Force push with trivial message
This commit is contained in:
Родитель
2e5c14b3ee
Коммит
b7d220377d
|
@ -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" + \
|
||||
|
|
Загрузка…
Ссылка в новой задаче