disableVirtDomain.sh

The disableVirtDomain.sh script runs custom commands placed in the script file. The script will be run whenever the specified domain is suspended.

Syntax: disableVirtDomain.sh site<n>

where <n> is the site identifier of the site being disabled. Information about the domain can be obtained by using the sitelookup API.

For example, you could use the script provided to notify Site Administrators whenever their sites are disabled. For more information, see the section Notifying Site Administrators When Sites Are Modified.