aboutsummaryrefslogtreecommitdiff
path: root/prepopulate_dummy.sh
blob: 19178a9e04d5b0f9fb7160c5aa4f545a7a209fa7 (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
    ./dummy_server $i databases/dummy_$i.db > /dev/null &
    pids=$pids" "$!
done

wait $pids