Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
Clean obsolete code (7.2.x no longer supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinvandel committed Oct 16, 2020
1 parent 8f568f3 commit e069a7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jahia/jahia_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,13 @@ actions:
sed -i 's,#\(mvnPath =\s*\).*$,\1'$mvn_path',' /opt/tomcat/conf/digital-factory-config/jahia/jahia.properties
copyApp:
- log: "## Copying DX and settings is properties"
- log: "## Copying Jahia app and settings its properties"
- cmd[${this}]: |-
[ "$_ROLE" == "Browsing" ] && sed -i "s#\(processingServer\s*=\).*#\1 false#g" $STACK_PATH/conf/digital-factory-config/jahia/jahia.node.properties
echo "expandImportedFilesOnDisk = true" >> $STACK_PATH/conf/digital-factory-config/jahia/jahia.properties
rm -rf $STACK_PATH/webapps/*
#COPS-18 workaround, switch from loadbalance to sequential
replace="sequential:"
if [[ $DX_VERSION == 7.2* ]]; then
replace=""
fi
sed "s/loadbalance:/$replace/" -i /$DATA_PATH/jahia/tomcat/webapps/ROOT/META-INF/context.xml
cp -rf $DATA_PATH/jahia/tomcat/webapps/* $STACK_PATH/webapps
chown -R tomcat:tomcat $STACK_PATH/webapps
Expand Down

0 comments on commit e069a7b

Please sign in to comment.