I have a post-stop hook that fires fine on Stop or Shutdowns initiated in the web interface or via qm CLI. But if I shutdown inside a VM gracefully, the hookscript does not seem to fire the stop phases and the script doesn't get run.
Is there another supported way to have the stop-process actions to get triggered, or am I left running a cron job to check the VM status and fire them semi-manually?
Is there another supported way to have the stop-process actions to get triggered, or am I left running a cron job to check the VM status and fire them semi-manually?