diff options
Diffstat (limited to 'scripts/client/supervisord.conf')
-rw-r--r-- | scripts/client/supervisord.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/scripts/client/supervisord.conf b/scripts/client/supervisord.conf new file mode 100644 index 0000000..34863b9 --- /dev/null +++ b/scripts/client/supervisord.conf @@ -0,0 +1,45 @@ +[unix_http_server] +file=%(here)s/supervisor.sock +chmod=0700 + +[inet_http_server] +port=127.0.0.1:9001 + +[supervisord] +logfile=%(here)s/logs/supervisord.log +loglevel=info +pidfile=%(here)s/supervisord.pid +nodaemon=false +identifier=sydra +childlogdir=%(here)s/logs +;environment=SYDRA_TEST=1 + +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[supervisorctl] +serverurl=unix://%(here)s/supervisor.sock +prompt=sydractl + +[program:receiver] +command=%(here)s/sydra-receiver.sh %(here)s +process_name=receiver +numprocs=1 +priority=20 +autostart=false +autorestart=true +startsecs=0 +startretries=10 + +[program:sender] +command=%(here)s/sydra-sender.sh %(here)s +process_name=sender +numprocs=1 +priority=20 +autostart=false +autorestart=true +startsecs=0 +startretries=10 + +[group:e14] +programs=receiver,sender |