From bb2886eb1dc7ee2f2475ec1ac29a277ad79215d7 Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Thu, 4 Sep 2014 15:45:11 +0000 Subject: [PATCH] config support for quincy --- quincy.conf | 7 +++++++ screenrc | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 quincy.conf diff --git a/quincy.conf b/quincy.conf new file mode 100644 index 0000000..c5174d2 --- /dev/null +++ b/quincy.conf @@ -0,0 +1,7 @@ +[global] +enabled_versions=1,2 +v1_impl=quince.v1_impl:Impl +v2_impl=quince.v2_impl:Impl + +[quince] +oahu_config=../../..|oahu_config:Config diff --git a/screenrc b/screenrc index 5f3942b..9870651 100644 --- a/screenrc +++ b/screenrc @@ -7,7 +7,8 @@ stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r" screen -t yagi2 bash stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r" screen -t quincy bash -stuff "cd git/quincy/quincy; gunicorn --log-file=- api:api\r" +stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api(config_location=\"../../../quincy.conf\")'\r" +stuff "cd git/quincy/quincy; gunicorn --log-file=- 'api:get_api()'\r" screen -t expired bash stuff "pipeline expired \".|oahu_config:Config\" --polling_rate=20\r" screen -t ready1 bash @@ -17,4 +18,4 @@ stuff "pipeline ready \".|oahu_config:Config\" --polling_rate=20\r" screen -t completed bash stuff "pipeline completed \".|oahu_config:Config\" --polling_rate=20\r" screen -t bash bash -stuff "klugman events -h\r" +stuff "klugman streams\r"