diff --git a/supervisor_conf/openrec_extractor.conf b/supervisor_conf/openrec_extractor.conf new file mode 100644 index 0000000..0b7f9de --- /dev/null +++ b/supervisor_conf/openrec_extractor.conf @@ -0,0 +1,10 @@ +[supervisord] +nodaemon=true + +[program:openrec_extractor] +directory = /home/eson/test/intimate/bin/openrec_extractor/ +command= /home/eson/test/intimate/bin/openrec_extractor/openrec_extractor +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/openrec_extractor/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/openrec_task1.conf b/supervisor_conf/openrec_task1.conf new file mode 100644 index 0000000..b011692 --- /dev/null +++ b/supervisor_conf/openrec_task1.conf @@ -0,0 +1,10 @@ +[supervisord] +nodaemon=true + +[program:openrec_ranking] +directory = /home/eson/test/intimate/bin/openrec_task1 +command= /home/eson/test/intimate/bin/openrec_task1/openrec_task1 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/openrec_task1/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/openrec_task2.conf b/supervisor_conf/openrec_task2.conf new file mode 100644 index 0000000..99c65c3 --- /dev/null +++ b/supervisor_conf/openrec_task2.conf @@ -0,0 +1,12 @@ +[supervisord] +nodaemon=true + +[program:openrec_source] +directory = /home/eson/test/intimate/bin/openrec_task2/ +command= /home/eson/test/intimate/bin/openrec_task2/openrec_task2 +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=4 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/openrec_task2/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/test.conf b/supervisor_conf/test.conf new file mode 100644 index 0000000..fb815c7 --- /dev/null +++ b/supervisor_conf/test.conf @@ -0,0 +1,12 @@ +# [supervisord] +# nodaemon=true + +# [program:openrec_extractor] +# directory = /home/eson/test/intimate/extractor/openrec_extractor +# command= /home/eson/test/intimate/extractor/openrec_extractor/openrec_extractor +# autorestart=true +# # stdout_logfile=/home/eson/test/intimate/extractor/openrec/stdout +# # stdout_logfile_maxbytes=0 +# stderr_logfile=/home/eson/test/intimate/extractor/openrec/log +# stderr_logfile_maxbytes=0 +# stopsignal=QUIT diff --git a/supervisor_conf/twitcasting_extractor.conf b/supervisor_conf/twitcasting_extractor.conf new file mode 100644 index 0000000..218b2b8 --- /dev/null +++ b/supervisor_conf/twitcasting_extractor.conf @@ -0,0 +1,14 @@ +[supervisord] +nodaemon=false + +[program:twitcasting_extractor] +environment=DISPLAY=":99" +directory = /home/eson/test/intimate/bin/twitcasting_extractor/ +command= /home/eson/test/intimate/bin/twitcasting_extractor/twitcasting_extractor +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=3 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitcasting_extractor/log +# stderr_logfile=%(supervisorctl.var.directory)s/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/twitcasting_task1.conf b/supervisor_conf/twitcasting_task1.conf new file mode 100644 index 0000000..23dda7b --- /dev/null +++ b/supervisor_conf/twitcasting_task1.conf @@ -0,0 +1,13 @@ +[supervisord] +nodaemon=false + +[program:twitcasting_task1] +environment=DISPLAY=":99" +directory = /home/eson/test/intimate/bin/twitcasting_task1/ +command= /home/eson/test/intimate/bin/twitcasting_task1/twitcasting_task1 +# process_name=%(program_name)s_%(process_num)02d ;多进程名称 +# numprocs=1 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitcasting_task1/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/twitch_extractor.conf b/supervisor_conf/twitch_extractor.conf new file mode 100644 index 0000000..a8676a5 --- /dev/null +++ b/supervisor_conf/twitch_extractor.conf @@ -0,0 +1,13 @@ +[supervisord] +nodaemon=false + +[program:twitch_extractor] +environment=DISPLAY=":99" +directory = /home/eson/test/intimate/bin/twitch_extractor +command= /home/eson/test/intimate/bin/twitch_extractor/twitch_extractor +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=5 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitch_extractor/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/twitch_extractor_p1.conf b/supervisor_conf/twitch_extractor_p1.conf new file mode 100644 index 0000000..36ac3fc --- /dev/null +++ b/supervisor_conf/twitch_extractor_p1.conf @@ -0,0 +1,13 @@ +[supervisord] +nodaemon=true + +[program:twitch_extractor_p1] +environment=DISPLAY=":99",pac_proxy=http://localhost:1090/pac +directory = /home/eson/test/intimate/bin/twitch_extractor +command= /home/eson/test/intimate/bin/twitch_extractor/twitch_extractor +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=2 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitch_extractor/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/twitch_extractor_p2.conf b/supervisor_conf/twitch_extractor_p2.conf new file mode 100644 index 0000000..095de77 --- /dev/null +++ b/supervisor_conf/twitch_extractor_p2.conf @@ -0,0 +1,13 @@ +[supervisord] +nodaemon=false + +[program:twitch_extractor_p2] +environment=DISPLAY=":99",pac_proxy=http://localhost:1090/pac1 +directory = /home/eson/test/intimate/bin/twitch_extractor +command= /home/eson/test/intimate/bin/twitch_extractor/twitch_extractor +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=2 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitch_extractor/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/twitch_task2.conf b/supervisor_conf/twitch_task2.conf new file mode 100644 index 0000000..7768d0e --- /dev/null +++ b/supervisor_conf/twitch_task2.conf @@ -0,0 +1,13 @@ +[supervisord] +nodaemon=false + +[program:twitch_task2] +environment=DISPLAY=":99" +directory = /home/eson/test/intimate/bin/twitch_task2 +command= /home/eson/test/intimate/bin/twitch_task2/twitch_task2 +process_name=%(program_name)s_%(process_num)02d ;多进程名称 +numprocs=6 ;启动多个进程 +autorestart=true +stderr_logfile=/home/eson/test/intimate/bin/twitch_task2/log +stderr_logfile_maxbytes=0 +stopsignal=QUIT diff --git a/supervisor_conf/xvfb.conf b/supervisor_conf/xvfb.conf new file mode 100644 index 0000000..1ee51d6 --- /dev/null +++ b/supervisor_conf/xvfb.conf @@ -0,0 +1,13 @@ + +[supervisord] +nodaemon=true + +[program:xvfb-99] +# directory = /home/eson/test/intimate/extractor/openrec_extractor +command=/usr/bin/Xvfb :99 -screen 0 1280x720x24 -ac -nolisten tcp -dpi 96 +extension RANDR -nolisten tcp +autorestart=true +# # stdout_logfile=/home/eson/test/intimate/extractor/openrec/stdout +# # stdout_logfile_maxbytes=0 +# stderr_logfile=/home/eson/test/intimate/extractor/openrec/log +# stderr_logfile_maxbytes=0 +# stopsignal=QUIT