From d452d44736c2a5271f6924f915e2282105170c3f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 8 Oct 2014 19:52:54 +0200 Subject: moved control room scripts to separate dir --- scripts/ctrlroom/supervisord.conf | 65 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 scripts/ctrlroom/supervisord.conf (limited to 'scripts/ctrlroom/supervisord.conf') diff --git a/scripts/ctrlroom/supervisord.conf b/scripts/ctrlroom/supervisord.conf new file mode 100644 index 0000000..f505b4e --- /dev/null +++ b/scripts/ctrlroom/supervisord.conf @@ -0,0 +1,65 @@ +[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:manager] +command=%(here)s/sydra-manager.sh %(here)s %(group_name)s +process_name=manager +numprocs=1 +priority=10 +autostart=true +autorestart=true +startsecs=0 +startretries=10 + +[program:overview] +command=%(here)s/sydra-receiver.sh %(here)s %(program_name)s %(process_num)02d +process_name=%(process_num)02d +numprocs=6 +priority=20 +autostart=true +autorestart=true +startsecs=0 +startretries=10 + +[program:main] +command=%(here)s/sydra-receiver.sh %(here)s %(program_name)s +process_name=main +numprocs=1 +priority=30 +autostart=true +autorestart=true +startsecs=0 +startretries=10 + +[program:sender] +command=%(here)s/sydra-sender.sh %(here)s +process_name=sender +numprocs=1 +priority=20 +autostart=true +autorestart=true +startsecs=0 +startretries=10 + +[group:e14] +programs=manager,overview,main,sender -- cgit v1.2.3