15 lines
302 B
Bash
Executable file
15 lines
302 B
Bash
Executable file
#!/bin/sh
|
|
test $(ps aux | grep run-janus-server | wc -l) = 2 || {
|
|
echo "❌ janus-server is not running"
|
|
exit 1;
|
|
}
|
|
echo "✅ janus-server is running"
|
|
|
|
test $(ps aux | grep run-corsanywhere | wc -l) = 2 || {
|
|
echo "❌ corsanywhere is not running"
|
|
exit 1;
|
|
}
|
|
echo "✅ corsanywhere is running"
|
|
|
|
|
|
|