Is there inherent functionality for app_offline for non-Azure sites? (we may host in Azure, but it isn’t an Azure site, per se, simply a VM in that cloud). If no, anyone have any good strategies on how to include this sort of functionality in a PS script?
I’ve read this: http://help.octopusdeploy.com/discussions/questions/6608-enable-appoffline-rule
But I feel that is Azure site specific…
Thanks for getting in touch! The Azure solution is different from a VM or Tentacle deployment solution.
You have much more control for VM or Tentacle deployments in their ordering and capabilities around the process.
There is a library step specifically for handling the app_offline files: https://library.octopusdeploy.com/step-template/actiontemplate-iis-change-app-offline
You can add it to your process and scope it via environments if required and link it back to package steps.
Hope that helps!