pi_portal.modules.system.supervisor_process
SupervisorProcess class.
- class pi_portal.modules.system.supervisor_process.SupervisorProcess(process_name)[source]
Process managed by the SupervisorClient.
- Parameters:
process_name (
ProcessList) – The Supervisor process name.
- status_in(status)[source]
Check if the Supervisor process is in the list of specified states.
- Parameters:
status (
List[ProcessStatus]) – A list of statuses to check if the process is in.- Return type:
bool- Returns:
A boolean indicating if the process is one of the states.