1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/bin/sh # Start up Soyuz for local testing on a dev machine. start_twistd() { # Start twistd for service $1. mkdir -p "/var/tmp/$1" echo "Starting $1." bin/twistd \ --logfile "/var/tmp/development-$1.log" \ --pidfile "/var/tmp/development-$1.pid" \ -y "daemons/$1.tac" } start_twistd zeca start_twistd buildd-manager echo "Starting poppy." mkdir -p /var/tmp/poppy bin/py daemons/poppy-upload.py /var/tmp/poppy/incoming 2121 & echo "Done." |