Skip to content

@selenamarie /screenrc-socorro
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
shell -${SHELL}
caption always "%n(%t) : %C"
defscrollback 1024
startup_message off
hardstatus on
hardstatus alwayslastline
screen -t collector 1 ~/bin/startup-socorro 1
screen -t processor 2 ~/bin/startup-socorro 2
screen -t monitor 3 ~/bin/startup-socorro 3
screen -t middleware 4 ~/bin/startup-socorro 4
screen -t crashmover 5 ~/bin/startup-socorro 5
screen -t send-crashes 6 ~/bin/startup-socorro 6
#!/bin/bash
SOCORROPATH=~/repos/socorro
if [ "$1" = 1 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
PYTHONPATH=. python socorro/collector/collector_app.py --admin.conf=./config/collector.ini
elif [ "$1" = 2 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
PYTHONPATH=. python socorro/processor/processor_app.py --admin.conf=./config/processor2.ini
elif [ "$1" = 3 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
PYTHONPATH=. python socorro/monitor/monitor_app.py --admin.conf=./config/monitor2.ini
elif [ "$1" = 4 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
PYTHONPATH=. python socorro/middleware/middleware_app.py --admin.conf=config/middleware.ini
elif [ "$1" = 5 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
PYTHONPATH=. python scripts/newCrashMover.py
elif [ "$1" = 6 ] ; then
. $SOCORROPATH/socorro-virtualenv/bin/activate
cd $SOCORROPATH
sleep 2
PYTHONPATH=. python socorro/collector/submitter_app.py -u http://localhost:8882/submit -s testcrash/ -n 10
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.