ochinchina/supervisord

Does supervisord.conf file supports conditional statements ?

chetan777in opened this issue · 0 comments

We are using supervisord when building container images for different operating system like centos , alpine etc.

I want to use same supervisord conf file and change value of restart_directory_monitor depending on the OS used
Like for alpine it would be : /usr/local/share/ca-certificates/
and for centos it would be : /etc/pki/ca-trust/source/anchors/

How can I achieve it using same supervisord file ?