Hi there

I am trying to use supervisord.
I wrote some program in /etc/supervisord.conf file.

I wrote four programs in it.

However, one program can't show in the web console.

the program name is "myprogram_three".

My /etc/supervisord.conf file's snippet is below


I modified http_port.

[supervisord]
;http_port=/var/tmp/supervisor.sock ; (default is to run a UNIX domain socket 
server)
http_port=0.0.0.0:8888


And my programs registering is here

; App appname Program
; myprogram 1
[program:myprogram_one]
command=python /home/username/work/my_program.py start 3 appname 
/var/www/django/demo/appname/appname
startsecs = 5
user = root
redirect_stderr = true
stderr_logfile = /var/log/supervisor/Program/hoge_appname-stderr.log
stdout_logfile = /var/log/supervisor/Program/hoge_appname-stdout.log

; myprogram 2
[program:myprogram_two]
command=python /home/username/work/my_program.py start 4 appname 
/var/www/django/demo/appname/appname
startsecs = 5
user = root
redirect_stderr = true
stderr_logfile = /var/log/supervisor/Program/bar_appname-stderr.log
stdout_logfile = /var/log/supervisor/Program/bar_appname-stdout.log


; appnametwo Program
; myprogram 3
[program:myprogram_three]
command=python /home/username/work/my_program.py start 3 appnametwo 
/var/www/django/demo/appnametwo/appname
startsecs = 5
user = root
redirect_stderr = true
stderr_logfile = /var/log/supervisor/Program/hoge_appnametwo-stderr.log
stdout_logfile = /var/log/supervisor/Program/hoge_appnametwo-stdout.log


; myprogram 4
[program:myprogram_four]
command=python /home/username/work/my_program.py start 4 appnametwo 
/var/www/django/demo/appnametwo/appname
startsecs = 5
user = root
redirect_stderr = true
stderr_logfile = /var/log/supervisor/Program/bar_appnametwo-stderr.log
stdout_logfile = /var/log/supervisor/Program/bar_appnametwo-stdout.log


Why dows "myprogram_three" program work?

I would appreciate it if you could help me.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to