10466.5.1
by Jeroen Vermeulen
Don't error out so quickly. |
1 |
#!/bin/sh
|
10373.3.5
by Jeroen Vermeulen
Automating lots of manual steps for getting Soyuz to work. |
2 |
# Start up Soyuz for local testing on a dev machine.
|
3 |
||
4 |
start_twistd() { |
|
5 |
# Start twistd for service $1.
|
|
6 |
mkdir -p "/var/tmp/$1" |
|
7 |
echo "Starting $1." |
|
8 |
bin/twistd \
|
|
9 |
--logfile "/var/tmp/development-$1.log" \ |
|
10 |
--pidfile "/var/tmp/development-$1.pid" \ |
|
11 |
-y "daemons/$1.tac" |
|
12 |
}
|
|
13 |
||
14 |
start_twistd zeca |
|
15 |
start_twistd buildd-manager |
|
16 |
||
17 |
echo "Starting poppy." |
|
18 |
mkdir -p /var/tmp/poppy |
|
19 |
bin/py daemons/poppy-upload.py /var/tmp/poppy/incoming 2121 & |
|
20 |
||
21 |
echo "Done." |