change the file storage path of hotfix file

This commit is contained in:
zhangyongde 2023-01-28 16:26:21 +08:00
parent ca7f26afb5
commit 6b1d773b77
3 changed files with 2 additions and 4 deletions

View File

@ -33,7 +33,7 @@ start_nfs()
fi
nfs_mask=`ip -4 route | grep "link src" | grep $SERVER_LOCAL_IP | awk '{print $1}' | head -n 1`
file_path=${SERVER_HOME}/hotfix/hotfix-nfs
file_path=${SERVER_HOME}/hotfix_builder/hotfix-nfs
mkdir -p ${file_path}
echo "${file_path} ${nfs_mask}(rw,async)" >> /etc/exports
exportfs -rv

View File

@ -1,6 +1,4 @@
#!/bin/bash
SERVICE_NAME=sysom-hotfix
start_app() {

View File

@ -119,7 +119,7 @@ DOWNLOAD_DIR = os.path.join(WEB_DIR, 'download')
##################################################################
# Hotfix Platform settings
##################################################################
HOTFIX_FILE_STORAGE_REPO = "/usr/local/sysom/server/hotfix/hotfix-nfs"
HOTFIX_FILE_STORAGE_REPO = "/usr/local/sysom/server/hotfix_builder/hotfix-nfs"
##################################################################
# Cec settings