~ibmcharmers/charms/trusty/ibm-mobilefirst-server/trunk

« back to all changes in this revision

Viewing changes to hooks/stop

  • Committer: Sunitha Radharapu
  • Date: 2015-10-28 05:17:18 UTC
  • Revision ID: sradhara@in.ibm.com-20151028051718-v92floyjsv7kmmwc
mobilefirst-server charm code checkin

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
set -e
3
3
juju-log "IBM MFSVR: Starting stop hook"
4
4
 
5
 
LIBERTY_INSTALL_PATH=`config-get liberty-install-path`
 
5
LIBERTY_INSTALL_PATH=/opt/ibm/wlp
6
6
if [ -d $LIBERTY_INSTALL_PATH/usr/servers/worklight ]; then
7
7
      juju-log "IBM MFSVR: Removing liberty server"
8
8
      rm -rf $LIBERTY_INSTALL_PATH/usr/servers/worklight