mirror of https://gitee.com/anolis/sysom.git
change the file storage path of hotfix file
This commit is contained in:
parent
ca7f26afb5
commit
6b1d773b77
|
@ -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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
SERVICE_NAME=sysom-hotfix
|
||||
|
||||
start_app() {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue