aboutsummaryrefslogtreecommitdiff
path: root/prepopulate2.sh
blob: 22d471ed0788ec3d0503a144c40e8c8aa003c667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

mkdir -p databases

pids=""
for i in `seq 10 12`
do
    echo $i
    rm -f socket
    ./server $i databases/csaa_$i.db > /dev/null &

    pids=$pids" "$!
done

wait $pids