From 0f735bb666ee5a21364ffde75d65eda832b931c9 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 19 Mar 2024 17:49:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8C=85=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=B8=BB=E7=A8=8B=E5=BA=8F=E8=B7=AF=E5=BE=84RestagentDir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 9b8b92f..897af3f 100644 --- a/build.sh +++ b/build.sh @@ -42,7 +42,7 @@ Data2htmlBin=data2html NBI_ALARM=nbi_alarm NBI_AGENT=nbi_agent AAAA_AGENT=4a_agent -RestagentDir=/usr/local/omc/bin +RestagentDir=/home/agtuser/probject/nms_cxy/restagent CrontaskDir=/usr/local/omc/bin SshSvcDir=/usr/local/omc/bin CapTraceDir=/usr/local/omc/bin @@ -153,8 +153,8 @@ case "$1" in chmod 755 ${DebBuildDir}/DEBIAN/postinst chmod 755 ${DebBuildDir}/DEBIAN/postrm cp -rf /home/agtuser/probject/nms_cxy/build/build/* ${DebBuildDir}/ - #cp -rf /home/agtuser/probject/nms_cxy/build/build/nginx/* ${DebBuildDir}/etc/nginx/conf.d - #cp -rf /home/agtuser/probject/nms_cxy/build/build/systemd/*.service ${DebBuildDir}/lib/systemd/system/ + # cp -rf /home/agtuser/probject/nms_cxy/build/build/nginx/* ${DebBuildDir}/etc/nginx/conf.d + # cp -rf /home/agtuser/probject/nms_cxy/build/build/systemd/*.service ${DebBuildDir}/lib/systemd/system/ chmod +x ${DebBuildDir}/usr/local/omc/bin/* sed -i "s/YYYYMMDD/${RelDate}/g" ${DebBuildDir}/DEBIAN/control perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: agtuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml