mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
feat: 资源密码加密处理&登录密码加密加强等
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
execfile=./mayfly-go
|
||||
|
||||
pid=`ps ax | grep -i 'mayfly-go' | grep -v grep | awk '{print $1}'`
|
||||
if [ ! -z "${pid}" ] ; then
|
||||
echo "The mayfly-go already running, shutdown and restart..."
|
||||
kill ${pid}
|
||||
fi
|
||||
|
||||
if [ ! -x "${execfile}" ]; then
|
||||
sudo chmod +x "${execfile}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user