diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index cd20022..3520912 --- a/build.sh +++ b/build.sh @@ -27,6 +27,9 @@ cd .. source ./$VENV_DIR/bin/activate +# Some extra required libs ... +pip install librabbitmq + for file in $SOURCE_DIR/* do cd $file diff --git a/screenrc b/screenrc index 45805e7..65de29d 100644 --- a/screenrc +++ b/screenrc @@ -1,9 +1,7 @@ sessionname tach hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})' screen -t bash bash -screen -t gen bash -stuff "cd git/notigen/bin; python event_pump.py -" +screen -t gen bash +stuff "cd git/notigen/bin; python event_pump.py\r" screen -t yagi bash -stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf -" +stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r" diff --git a/shoebox.conf b/shoebox.conf index c8a3f10..00d426a 100644 --- a/shoebox.conf +++ b/shoebox.conf @@ -13,8 +13,7 @@ user = guest password = guest port = 5672 vhost = / -poll_delay = 1 -exchange_name = "nova" +#poll_delay = 1 [logging] logfile = yagi.log @@ -24,11 +23,11 @@ default_level = WARN queues = monitor.info [consumer:monitor.info] -apps = yagi.handler.shoebox -exchange = nova +apps = yagi.handler.shoebox_handler.ShoeboxHandler +exchange = monitor exchange_type = topic routing_key = monitor.info -durable = False +durable = True max_messages = 100 [shoebox]