Skip to content

Commit 3acf6d1

Browse files
committed
Code review improvements
1 parent a01a0d2 commit 3acf6d1

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ ENV WPR_DICTIONARIES_DIR=${DICTIONARIES_DIR}
7979
ENV WPR_CUSTOM_DICTIONARIES_DIR=${CUSTOM_DICTIONARIES_DIR}
8080
ENV WPR_USER_DICTIONARIES_DIR=${USER_DICTIONARIES_DIR}
8181
ENV WPR_STYLE_GUIDE_DIR=${STYLE_GUIDE_DIR}
82+
83+
#The log size must be set to 0 for Docker.
8284
ENV WPR_SIZE=0
8385

8486
ENV WPR_ENABLE_PROXY=${ENABLE_PROXY}

Dockerfile.redhat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ ENV WPR_DICTIONARIES_DIR=${DICTIONARIES_DIR}
7777
ENV WPR_CUSTOM_DICTIONARIES_DIR=${CUSTOM_DICTIONARIES_DIR}
7878
ENV WPR_USER_DICTIONARIES_DIR=${USER_DICTIONARIES_DIR}
7979
ENV WPR_STYLE_GUIDE_DIR=${STYLE_GUIDE_DIR}
80+
81+
#The log size must be set to 0 for Docker.
8082
ENV WPR_SIZE=0
8183

8284
ENV WPR_ENABLE_PROXY=${ENABLE_PROXY}

files/startService.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
# activate a license automatically
2121
LicenseFile="${WPR_PATH_TO_SERVICE_FILES_DIRECTORY}/WebSpellChecker/license/license.xml"
22-
if ! [ -f "${LicenseFile}" ] && ! [ -f "${WPR_PATH_TO_SERVICE_FILES_DIRECTORY}/wsc/license/license.xml" ]; then
22+
if ! [ -f "${LicenseFile}" ]; then
2323
./AppServerX -activateLicense ${WPR_LICENSE_TICKET_ID} -y
2424
fi
2525

0 commit comments

Comments
 (0)