Created Process management (markdown)

ni-richard 2019-09-16 21:32:00 +02:00
parent b2c12a5189
commit 7c7c882c1f

11
Process-management.md Normal file

@ -0,0 +1,11 @@
The challenge container's default command starts the supervisor daemon which manages every relevant process including the custom web service. *ProcessHandler* provides an interface to this daemon, and as a result of this, you are in control over the lifetime of the spawned processes. Moreover, you can retrieve (*ProcessLogHandler*) their outputs from `stdin` and `stdout`, respectively.
Regarding exercises, this means that you can easily restart your services after the user edited their source code / configuration files, etc.
***
**Available commands**:
* [process.start](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/process.start)
* [process.stop](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/process.stop)
* [process.restart](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/process.restart)
* [process.log.new](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/process.log.new)
* [process.log.set](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/process.log.set)