Skip to content

Instantly share code, notes, and snippets.

@jverweijL
Created June 12, 2018 09:06
Show Gist options
  • Select an option

  • Save jverweijL/fbfc0aca1653b72321ee6fd8247a8fa7 to your computer and use it in GitHub Desktop.

Select an option

Save jverweijL/fbfc0aca1653b72321ee6fd8247a8fa7 to your computer and use it in GitHub Desktop.
clear the cache for liferay dxp 7.0
LIFERAY_HOME=/opt/liferay-dxp-digital-enterprise-7.0-sp2
sudo systemctl stop liferay
sudo rm -rf $LIFERAY_HOME/tomcat-8.0.32/temp/*
sudo rm -rf $LIFERAY_HOME/tomcat-8.0.32/work/*
sudo rm -rf $LIFERAY_HOME/tomcat-8.0.32/logs/*
sudo rm -rf $LIFERAY_HOME/osgi/state/*
sudo systemctl start liferay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment