ACS-10505 generating xcu file via script instead of officemanager

This commit is contained in:
bsayan2
2025-12-26 13:07:25 +05:30
parent ba4734253a
commit ae9c69fb7e
3 changed files with 2 additions and 10 deletions
-5
View File
@@ -85,11 +85,6 @@ RUN groupadd -g ${GROUPID} ${GROUPNAME} && \
useradd -u ${USERID} -G ${GROUPNAME} ${AIOUSERNAME} && \
chgrp -R ${GROUPNAME} /usr/bin/${env.project_artifactId}.jar
RUN mkdir -p /opt/libreoffice-profile/workDir && \
mkdir -p /opt/libreoffice-profile/templateProfileDir/user && \
chown -R ${USERID}:${GROUPID} /opt/libreoffice-profile && \
chmod -R 775 /opt/libreoffice-profile
EXPOSE 8090
USER ${AIOUSERNAME}
@@ -10,11 +10,8 @@ transform:
maxTasksPerProcess: ${LIBREOFFICE_MAX_TASKS_PER_PROCESS:200}
timeout: ${LIBREOFFICE_TIMEOUT:1200000}
portNumbers: ${LIBREOFFICE_PORT_NUMBERS:8100}
templateProfileDir: ${LIBREOFFICE_TEMPLATE_PROFILE_DIR:default_alfresco}
isEnabled: ${LIBREOFFICE_IS_ENABLED:true}
enableTemplateProfile: false
templateProfileDir: ${LIBREOFFICE_TEMPLATE_PROFILE_DIR:/opt/libreoffice-profile/templateProfileDir}
workdir: ${LIBREOFFICE_WORK_PROFILE_DIR:/opt/libreoffice-profile/workDir}
disableExternalLinks: true
imagemagick:
root: ${IMAGEMAGICK_ROOT:/usr/lib64/ImageMagick-7.1.2}
dyn: ${IMAGEMAGICK_DYN:/usr/lib64/ImageMagick-7.1.2/lib}
+1 -1
View File
@@ -21,7 +21,7 @@ cat > "$OUTPUT_FILE" << EOF
EOF
# Item 1
if [ "$TEMPLATE_PROFILE" = "libreoffice/templateProfile" ]; then
if [ "$TEMPLATE_PROFILE" = "default_alfresco" ]; then
cat >> "$OUTPUT_FILE" << EOF
<item oor:path="/org.openoffice.Office.Common/Security/Scripting">
<prop oor:name="BlockUntrustedRefererLinks" oor:op="fuse">