GUACAMOLE-146: Pre-clean the webapp context before deploying it.

This commit is contained in:
Virtually Nick
2019-04-19 15:01:52 -04:00
parent 60ff499de2
commit 380b88c095

View File

@@ -575,6 +575,7 @@ END
start_guacamole() { start_guacamole() {
# Install webapp # Install webapp
rm -Rf /usr/local/tomcat/webapps/${WEBAPP_CONTEXT:-guacamole}
ln -sf /opt/guacamole/guacamole.war /usr/local/tomcat/webapps/${WEBAPP_CONTEXT:-guacamole}.war ln -sf /opt/guacamole/guacamole.war /usr/local/tomcat/webapps/${WEBAPP_CONTEXT:-guacamole}.war
# Start tomcat # Start tomcat