Make install hook idempotent, execute it on charm-upgrade. Stop hook now kills appserver, called also during start to make sure appserver is killed before starting