english-supervisord.conf 1.02 KB
Newer Older
Yoann HOUPERT's avatar
Yoann HOUPERT committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
; Sample supervisord configuration for kaldi-gstreamer-server.
; Modify according to you needs and put under /etc/supervisor/conf.d/

[program:full-duplex-english-server]
command = /usr/bin/python2.7 /home/tanel/devel/kaldi-gstreamer-server/kaldigstserver/master_server.py --port=8890
user = tanel
redirect_stderr = true
stdout_logfile = /home/tanel/service/duplex-speech/english/server.log
environment= GST_PLUGIN_PATH="/home/tanel/tools/kaldi-trunk/src/gst-plugin"
directory = /home/tanel/service/duplex-speech/english

[program:full-duplex-english-worker]
command = /usr/bin/python2.7 /home/tanel/devel/kaldi-gstreamer-server/kaldigstserver/worker.py -u ws://localhost:8890/worker/ws/speech -c worker.yaml
numprocs = 5
process_name=%(program_name)s-%(process_num)s
user = tanel
redirect_stderr = true
stdout_logfile = /home/tanel/service/duplex-speech/english/worker-%(process_num)s.log
environment= GST_PLUGIN_PATH="/home/tanel/tools/kaldi-trunk/src/gst-plugin",LC_ALL="en_US.UTF8"
directory = /home/tanel/service/duplex-speech/english