From 450682e0e05efdd3635f97184a2e53b204a0b2fd Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 4 Nov 2019 11:56:46 +0800 Subject: [PATCH] update ggr --- ggr/data/supervisor.d/confd.ini | 5 +++++ ggr/data/supervisor.d/ggr.ini | 1 + ggr/data/supervisor.d/null.ini | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 ggr/data/supervisor.d/null.ini diff --git a/ggr/data/supervisor.d/confd.ini b/ggr/data/supervisor.d/confd.ini index 96acd58..5d9b1f7 100644 --- a/ggr/data/supervisor.d/confd.ini +++ b/ggr/data/supervisor.d/confd.ini @@ -1,2 +1,7 @@ [program:confd] command = confd -watch -backend file -file /dev/null +redirect_stderr = true + +[program:null] +command = sh -c 'while true; do date > /dev/null; sleep 60; done' +redirect_stderr = true diff --git a/ggr/data/supervisor.d/ggr.ini b/ggr/data/supervisor.d/ggr.ini index d5b1312..e406a68 100644 --- a/ggr/data/supervisor.d/ggr.ini +++ b/ggr/data/supervisor.d/ggr.ini @@ -1,2 +1,3 @@ [program:ggr] command = ggr -listen :4444 -users /etc/grid-router/users.htpasswd -quotaDir /etc/grid-router/quota -guests-allowed +redirect_stderr = true diff --git a/ggr/data/supervisor.d/null.ini b/ggr/data/supervisor.d/null.ini deleted file mode 100644 index fae2b8c..0000000 --- a/ggr/data/supervisor.d/null.ini +++ /dev/null @@ -1,2 +0,0 @@ -[program:null] -command = sh -c 'while true; do date > /dev/null; sleep 60; done'