github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/acceptancetests/repository/xenial/wordpress/hooks/nfs-relation-broken (about)

     1  #!/bin/bash
     2  
     3  set -eu
     4  
     5  juju-log "We've got a mount"
     6  source inc/common
     7  
     8  if [ ! -f .nfs-mount ]; then
     9  	juju-log "I guess we've already done this."
    10  	exit 0
    11  fi
    12  
    13  source .nfs-mount
    14  umount /mnt/wordpress
    15  
    16  rm -f .nfs-mount
    17  
    18  juju-log "Fairwell nfs mount, we hardly knew you"
    19  
    20  . hooks/config-changed