Update install.sh

This commit is contained in:
Mr Chen 2024-07-19 23:50:45 +08:00
parent b52635c747
commit 85ae2ff349
1 changed files with 7 additions and 7 deletions

View File

@ -47,14 +47,14 @@ Install_App()
exit 1
fi
if [ "$?" == "0" ];then
mkdir -p $serverPath/zabbix_agent
echo "${VERSION}" > $serverPath/zabbix_agent/version.pl
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix_agent/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix_agent/index.py initd_install
fi
mkdir -p $serverPath/zabbix_agent
echo "${VERSION}" > $serverPath/zabbix_agent/version.pl
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix_agent/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/zabbix_agent/index.py initd_install
echo 'Zabbix安装完成'
}