28 lines
699 B
Plaintext
28 lines
699 B
Plaintext
; Copyright (c) 2021 Battelle Energy Alliance, LLC. All rights reserved.
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisor.sock ; (the path to the socket file)
|
|
chmod=0700
|
|
|
|
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock
|
|
|
|
[program:freq]
|
|
command=/usr/bin/python3 /opt/freq_server/freq_server.py -ip 0.0.0.0 %(ENV_FREQ_PORT)s /opt/freq_server/freq_table.freq
|
|
startsecs=5
|
|
startretries=2000000000
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|