pre-receive hook to kill the app