refactor: 后端包结构重构、去除无用的文件

This commit is contained in:
meilin.huang
2022-06-02 17:41:11 +08:00
parent 51d06ab206
commit b2dc9dff0b
234 changed files with 749 additions and 816 deletions

13
server/shutdown.sh Normal file
View File

@@ -0,0 +1,13 @@
#bin/bash
pid=`ps ax | grep -i 'mayfly-go' | grep -v grep | awk '{print $1}'`
if [ -z "${pid}" ] ; then
echo "No mayfly-go running."
exit -1;
fi
echo "The mayfly-go(${pid}) is running..."
kill ${pid}
echo "Send shutdown request to mayfly-go(${pid}) OK"