started on screenrc
This commit is contained in:
parent
7483918fae
commit
fd639b9478
9
screenrc
Normal file
9
screenrc
Normal file
@ -0,0 +1,9 @@
|
||||
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 yagi bash
|
||||
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf
|
||||
"
|
43
shoebox.conf
Normal file
43
shoebox.conf
Normal file
@ -0,0 +1,43 @@
|
||||
[global]
|
||||
verbose = True
|
||||
debug = True
|
||||
|
||||
[event_worker]
|
||||
pidfile = yagi_event_worker.pid
|
||||
daemonize = False
|
||||
event_driver = yagi.broker.rabbit.Broker
|
||||
|
||||
[rabbit_broker]
|
||||
host = localhost
|
||||
user = guest
|
||||
password = guest
|
||||
port = 5672
|
||||
vhost = /
|
||||
poll_delay = 1
|
||||
exchange_name = "nova"
|
||||
|
||||
[logging]
|
||||
logfile = yagi.log
|
||||
default_level = WARN
|
||||
|
||||
[consumers]
|
||||
queues = monitor.info
|
||||
|
||||
[consumer:monitor.info]
|
||||
apps = yagi.handler.shoebox
|
||||
exchange = nova
|
||||
exchange_type = topic
|
||||
routing_key = monitor.info
|
||||
durable = False
|
||||
max_messages = 100
|
||||
|
||||
[shoebox]
|
||||
# Store in-process files in ./working
|
||||
# Move them to ./archive when full via the MoveFileCallback
|
||||
# Roll files every 1mb
|
||||
working_directory=./shoebox/working
|
||||
filename_template=events_%Y_%m_%d_%X_%f.dat
|
||||
roll_checker=shoebox.roll_checker:SizeRollChecker
|
||||
roll_size_mb=1
|
||||
callback=shoebox.handlers:MoveFileCallback
|
||||
destination_folder=./shoebox/archive
|
Loading…
x
Reference in New Issue
Block a user