github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/acceptancetests/repository/charms/wordpress/hooks/cache-relation-departed (about) 1 #!/bin/bash 2 3 set -eu 4 5 source inc/common 6 7 if [ ! -f .memcache ]; then 8 juju-log "I guess we've already done this..." 9 exit 0 10 fi 11 12 rm -f .memcache 13 14 juju-log "Fairwell memcache, fairwell memcache" 15 16 . hooks/config-changed