mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 01:31:32 +00:00
Fix ProcessMonitor not being compatible with SupervisorMixin
This commit is contained in:
parent
69c998bfde
commit
3506f5abb4
@ -4,7 +4,7 @@ from tfw.components.mixins import SupervisorMixin
|
|||||||
|
|
||||||
class ProcessManager(SupervisorMixin):
|
class ProcessManager(SupervisorMixin):
|
||||||
def __init__(self, supervisor_process_name):
|
def __init__(self, supervisor_process_name):
|
||||||
self.process = supervisor_process_name
|
self.process_name = supervisor_process_name
|
||||||
self.commands = {'start': self.start_process,
|
self.commands = {'start': self.start_process,
|
||||||
'stop': self.stop_process,
|
'stop': self.stop_process,
|
||||||
'restart': self.restart_process}
|
'restart': self.restart_process}
|
||||||
|
Loading…
Reference in New Issue
Block a user