9 lines
196 B
Bash
9 lines
196 B
Bash
#!/bin/bash
|
|
if pgrep sipp >/dev/null
|
|
then
|
|
echo "sipp is running"
|
|
else
|
|
cd /home/pi/sipp
|
|
./sipp -sn uac_pcap {{ hostvars[groups['sipserver'][0]].ansible_host }} -bg -l 40
|
|
fi
|