mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -158,7 +158,6 @@ Install_App()
|
|||||||
|
|
||||||
if [ -d $serverPath/nezha ];then
|
if [ -d $serverPath/nezha ];then
|
||||||
echo "$VERSION" > $serverPath/nezha/version.pl
|
echo "$VERSION" > $serverPath/nezha/version.pl
|
||||||
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py init_cfg
|
|
||||||
fi
|
fi
|
||||||
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py start
|
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py start
|
||||||
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py initd_install
|
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py initd_install
|
||||||
@@ -170,7 +169,7 @@ Uninstall_App()
|
|||||||
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py initd_uninstall
|
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py initd_uninstall
|
||||||
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py stop
|
cd ${rootPath} && python3 ${rootPath}/plugins/nezha/index.py stop
|
||||||
rm -rf $serverPath/nezha
|
rm -rf $serverPath/nezha
|
||||||
echo "install fail"
|
echo "uninstall successful"
|
||||||
}
|
}
|
||||||
|
|
||||||
action=$1
|
action=$1
|
||||||
|
|||||||
Reference in New Issue
Block a user