numprocs
http://errorbank.blogspot.com/2014/08/supervisor-error-processnum-must-be.html
process_name = %(program_name)s_%(process_num)02d
[program:gendthumb-app]
command = bash -c "while [ 1 ]; do python3 app.py; sleep 10; done"
process_name=%(program_name)s-%(process_num)s
numprocs=3
directory=/root/genthumb-rpi
stdout_logfile=/tmp/genthumb_app.log
;stdout_logfile=/tmp/genthumb_app-%(process_num)s.log
redirect_stderr=true
autostart=true
autorestart=true
environment=PYTHONPATH=/root/pythonpath,PYTHONUNBUFFERED=1
process_name=%(program_name)s-%(process_num)s
gendthumb-app:gendthumb-app-0 RUNNING pid 1248325, uptime 0:00:0
gendthumb-app:gendthumb-app-1 RUNNING pid 1248326, uptime 0:00:02
gendthumb-app:gendthumb-app-2 RUNNING pid 1248328, uptime 0:00:02
gendthumb-scrape RUNNING pid 1248329, uptime 0:00:02
process_name=%(process_num)s
gendthumb-app:0 RUNNING pid 1248325, uptime 0:00:0
gendthumb-app:1 RUNNING pid 1248326, uptime 0:00:02
gendthumb-app:2 RUNNING pid 1248328, uptime 0:00:02
gendthumb-scrape RUNNING pid 1248329, uptime 0:00:02