Warning, /swf-testbed/supervisord.conf is written in an unsupported language. File is not indexed.
0001 [unix_http_server]
0002 file=/tmp/supervisor.sock ; Path to the socket file (supervisorctl connects to this)
0003
0004 [supervisord]
0005 logfile=%(here)s/logs/supervisord.log ; Main log file for supervisord
0006 pidfile=%(here)s/supervisord.pid ; PID file for supervisord process
0007 childlogdir=%(here)s/logs ; Directory for child process log files
0008 nodaemon=false ; Run supervisord in the background
0009 minfds=1024 ; Minimum available file descriptors
0010 minprocs=200 ; Minimum available process descriptors
0011
0012 [rpcinterface:supervisor]
0013 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
0014
0015 [supervisorctl]
0016 serverurl=unix:///tmp/supervisor.sock ; URL for supervisorctl to connect to the server
0017
0018 ; --- Agent Definitions ---
0019 ; IMPORTANT: You MUST adjust the 'command' for each agent
0020 ; based on your project structure and how each agent is started.
0021 ; The 'directory' is now parameterized using the SWF_HOME environment variable,
0022 ; which should point to the directory containing all your swf-* repositories.
0023 ; e.g., directory=%(ENV_SWF_HOME)s/swf-daqsim-agent
0024 ; You must set the SWF_HOME environment variable in your shell.
0025
0026 [program:swf-daqsim-agent]
0027 command=python -m swf_daqsim_agent.main ; FIXME: Adjust to the actual command to start this agent (e.g., poetry run python -m swf_daqsim_agent.main)
0028 directory=%(ENV_SWF_HOME)s/swf-daqsim-agent ; Path to this agent's directory
0029 autostart=true
0030 autorestart=true
0031 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0032 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0033 stopsignal=QUIT ; Signal to send to stop the process (QUIT is often good for Python)
0034
0035 [program:swf-data-agent]
0036 command=python -m swf_data_agent.main ; FIXME: Adjust to the actual command
0037 directory=%(ENV_SWF_HOME)s/swf-data-agent ; Path to this agent's directory
0038 autostart=true
0039 autorestart=true
0040 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0041 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0042 stopsignal=QUIT
0043
0044 [program:swf-processing-agent]
0045 command=python -m swf_processing_agent.main ; FIXME: Adjust to the actual command
0046 directory=%(ENV_SWF_HOME)s/swf-processing-agent ; Path to this agent's directory
0047 autostart=true
0048 autorestart=true
0049 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0050 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0051 stopsignal=QUIT
0052
0053 [program:swf-fastmon-agent]
0054 command=python -m swf_fastmon_agent.main ; FIXME: Adjust to the actual command
0055 directory=%(ENV_SWF_HOME)s/swf-fastmon-agent ; Path to this agent's directory
0056 autostart=true
0057 autorestart=true
0058 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0059 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0060 stopsignal=QUIT
0061
0062 [program:swf-mcp-agent]
0063 command=python -m swf_mcp_agent.main ; FIXME: Adjust to the actual command
0064 directory=%(ENV_SWF_HOME)s/swf-mcp-agent ; Path to this agent's directory
0065 autostart=true
0066 autorestart=true
0067 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0068 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0069 stopsignal=QUIT
0070
0071 [program:swf-monitor-web]
0072 command=python src/manage.py runserver 127.0.0.1:8002
0073 directory=%(ENV_SWF_HOME)s/swf-monitor
0074 autostart=true
0075 autorestart=true
0076 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0077 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0078 stopsignal=QUIT
0079
0080 [program:swf-monitor-daphne]
0081 command=daphne -e ssl:8443:privateKey=../ssl_key.pem:certKey=../ssl_cert.pem:interface=0.0.0.0 swf_monitor_project.asgi:application
0082 directory=%(ENV_SWF_HOME)s/swf-monitor/src
0083 autostart=true
0084 autorestart=true
0085 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0086 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0087 stopsignal=QUIT
0088
0089
0090 ; --- Infrastructure Services for Standalone Operation ---
0091 ; Redis (Channels channel layer for SSE relay)
0092 ; Required to support remote ActiveMQ recipients via SSE in the testbed.
0093 ; If your host provides a system-managed redis.service, you may disable this.
0094 [program:redis]
0095 command=redis-server --port 6379 --bind 127.0.0.1
0096 directory=%(here)s
0097 autostart=%(ENV_SWF_USE_LOCAL_REDIS)s ; Set SWF_USE_LOCAL_REDIS=true in standalone dev; leave unset/false on platform
0098 autorestart=true
0099 stdout_logfile=%(here)s/logs/%(program_name)s_stdout.log
0100 stderr_logfile=%(here)s/logs/%(program_name)s_stderr.log
0101 stopsignal=TERM
0102 startsecs=3
0103 startretries=3
0104