From dc993e6fc7dcefe6937291d7d4bd76963cdda536 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Tue, 21 May 2019 13:10:43 +0200 Subject: [PATCH] Use env variables --- supervisord.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/supervisord.conf b/supervisord.conf index 8399154..11ce57d 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -68,13 +68,13 @@ stdout_logfile=logs/%(program_name)s.out.log ; stdout log path, NONE for stderr_logfile=logs/%(program_name)s.err.log ; stderr log path, NONE for none; default AUTO [program:monitoring_ligier] -command=cat +command=$(ENV_LIGIER_CMD)s -d2 -P $(ENV_MONITORING_LIGIER_PORT)s priority=1 stdout_logfile=logs/%(program_name)s.out.log ; stdout log path, NONE for none; default AUTO stderr_logfile=logs/%(program_name)s.err.log ; stderr log path, NONE for none; default AUTO -[program:ligier_mirror] -command=cat +[program:ligiermirror] +command=ligiermirror -m $(ENV_TAGS_TO_MIRROR)s -q $(ENV_MONITORING_LIGIER_PORT)s -p $(ENV_DAQ_LIGIER_PORT)s $(DAQ_LIGIER_IP)s priority=10 stdout_logfile=logs/%(program_name)s.out.log ; stdout log path, NONE for none; default AUTO stderr_logfile=logs/%(program_name)s.err.log ; stderr log path, NONE for none; default AUTO @@ -108,7 +108,7 @@ programs=ahrs_calibration,dom_activity priority=999 [group:ligiers] -programs=monitoring_ligier,ligier_mirror +programs=monitoring_ligier,ligiermirror priority=1 ; The [include] section can just contain the "files" setting. This -- GitLab