Procenv maintains a lifecycle, in order to keep up with the status of the Application, inform the user and handle situations gracefully. This lifecycle can be described in 5 steps:
- Start Procenv
- Run all preboot checks
- If not all preboot checks succeed, then exit Procenv
- If all preboot checks succeed, then run the Application and the main checks loop in parallel
- When the Application exits, then exit Procenv
If you are more of a visual person, you can see a control flow diagram approach to the Procenv lifecycle.