config support for quincy

This commit is contained in:
Sandy Walsh 2014-09-04 15:45:11 +00:00
parent 79a931fa1a
commit bb2886eb1d
2 changed files with 10 additions and 2 deletions

7
quincy.conf Normal file
View File

@ -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

View File

@ -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"