run_demo.sh 364 Bytes
Newer Older
powelld's avatar
powelld committed
1
2
3

    echo "Starting Middlebox"
    ../middlebox 8423 127.0.0.1:8423 simpleMiddlebox &
canterburym's avatar
canterburym committed
4
    mboxpid=$(pidof middlebox)
powelld's avatar
powelld committed
5
6
7
8
9

    sleep .3

    echo "Starting Server"
    ../server ./simpleEchoScript.sh &
canterburym's avatar
canterburym committed
10
    serverpid=$(pidof server)
powelld's avatar
powelld committed
11
12
13
14
15
16
17
18
19
20

    sleep .3

    echo "Starting Client"
    ../client simple_input.json

    echo "Cleaning up"
    kill $mboxpid
    kill $serverpid