blob: cd21a008af89163ac3b556cb2875ca6c600c5a49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
function start_inspector_sample {
pgrep -f "python inspector.py" && return 0
python inspector.py "$INSPECTOR_PORT" > inspector.log 2>&1 &
}
function stop_inspector_sample {
pgrep -f "python inspector.py" || return 0
kill $(pgrep -f "python inspector.py")
}
function cleanup_inspector_sample {
# Noop
return
}
|