Hello everyone,

I have switched to supervisor only recently and I’m getting myself
acquainted.

Something I would like to do is to externally pass the value for numproc,
under the form of an environment variable, like so:

[…]
numprocs_start=0
numprocs=%(ENV_HERMES_INSTANCES)01d
[…]

But it doesn’t seem to work the way I expected:

$ supervisorctl reread
ERROR: CANT_REREAD: invalid literal for long() with base 10:
'%(ENV_HERMES_INSTANCES)01d’

Thus my question: Is it possible at all? If yes, how?

Thank you very much!

Alfredo
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to