mirror of https://github.com/fatedier/frp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
323 B
14 lines
323 B
#!/bin/bash |
|
|
|
pid=`ps aux|grep './../bin/frps -c ./conf/auto_test_frps.ini'|grep -v grep|awk {'print $2'}` |
|
if [ -n "${pid}" ]; then |
|
kill ${pid} |
|
fi |
|
|
|
pid=`ps aux|grep './../bin/frpc -c ./conf/auto_test_frpc.ini'|grep -v grep|awk {'print $2'}` |
|
if [ -n "${pid}" ]; then |
|
kill ${pid} |
|
fi |
|
|
|
rm -f ./frps.log |
|
rm -f ./frpc.log
|
|
|