Files
containers/bitnami/tomcat/post-install.sh
Sameer Naik db4021c8ed comments!
2015-08-12 23:44:57 +05:30

14 lines
379 B
Bash

#!/bin/bash
cd $BITNAMI_APP_DIR
# move the default conf directory
mv conf conf.defaults
# move the default webapps directory
mv webapps webapps.defaults
# symlink mount points at root to install dir
ln -s $BITNAMI_APP_DIR/webapps $BITNAMI_APP_VOL_PREFIX/webapps
ln -s $BITNAMI_APP_DIR/conf $BITNAMI_APP_VOL_PREFIX/conf
ln -s $BITNAMI_APP_DIR/logs $BITNAMI_APP_VOL_PREFIX/logs