On Wed, Aug 20, 2014 at 5:46 AM, Matthew Williams <matthew.willi...@canonical.com> wrote: > if JUJU_HOOK_NAME == "start" > //run start > else if JUJU_HOOK_NAME == "config-changed" > //run config-changed > else if JUJU_HOOK_NAME == "stop" > //run stop > else > //unknown hook > exit 1 > fi
I'd expect the else to be "exit 0". This is the same behavior you get when juju would execute a hook but it does not exist in the charm. gustavo @ http://niemeyer.net -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev