Skip to content
Advertisement

reload `procmgr` in container?

So I have a docker container build with buildpack that runs the following command under PID 1

JavaScript

is it possible to reload the configs passed into procmgr somehow?

JavaScript

Advertisement

Answer

At the time of writing this, no. The procmgr cli that is used here is very basic.

https://github.com/paketo-buildpacks/php-web/blob/main/cmd/procmgr/main.go

It loads the processes information listed in procs.yml, starts those processes, redirects all STDOUT/STDERR, and watches for a process to exit. If one process exits, then they all exit. There’s no reload capability.

If you need to reload the information in procs.yml, you’ll need to reload your container.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement