diff --git a/plugins/zabbix/install.sh b/plugins/zabbix/install.sh index 58593dec2..39cb4a34e 100755 --- a/plugins/zabbix/install.sh +++ b/plugins/zabbix/install.sh @@ -37,6 +37,9 @@ fi Install_App() { + mkdir -p $serverPath/zabbix + echo "${VERSION}" > $serverPath/zabbix/version.pl + echo '正在安装脚本文件...' mkdir -p $serverPath/source/zabbix shell_file=${curPath}/versions/${VERSION}/${OSNAME}.sh @@ -48,9 +51,6 @@ Install_App() exit 1 fi - mkdir -p $serverPath/zabbix - echo "${VERSION}" > $serverPath/zabbix/version.pl - #初始化 cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py start cd ${rootPath} && python3 ${rootPath}/plugins/zabbix/index.py initd_install