Fix charm directory perm issues
Use the real CHARM_DIR env
Finish update logic
Don't fail when discourse has already been stopped
Typo from old code
Actual website:http hook