6.5. teardown Script

Synopsis

teardown

Description

The teardown script prepares the gear for cartridge removal. The script only runs when OpenShift Enterprise removes the cartridge from a gear; it does not run when OpenShift Enterprise deletes the gear. The gear continues to operate without the functionality of the removed cartridge.

Lock context: unlocked.