mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 13:02:55 +00:00 
			
		
		
		
	Implement stderr feedback on deployment failure (ProcessManagingEventHandler)
This commit is contained in:
		@@ -15,6 +15,9 @@ class SupervisorMixin:
 | 
			
		||||
    def start_process(self, process_name):
 | 
			
		||||
        self.supervisor.startProcess(process_name)
 | 
			
		||||
 | 
			
		||||
    def read_log(self, process_name):
 | 
			
		||||
        return self.supervisor.readProcessStderrLog(process_name, 0, 0)
 | 
			
		||||
 | 
			
		||||
    def restart_process(self, process_name):
 | 
			
		||||
        self.stop_process(process_name)
 | 
			
		||||
        self.start_process(process_name)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user