What Is a Shutdown Service?
A shutdown service is one that the server automatically executes when it unloads a package from memory. If a package is in memory, the server unloads the package:
![*](bullet.gif)
At server shutdown or restart
![*](bullet.gif)
When someone uses the
Integration Server Administrator to disable the package
![*](bullet.gif)
Before the server removes the package from memory when someone uses the
Integration Server Administrator to reload a package
Shutdown services are useful for executing cleanup tasks such as closing files and purging temporary data. You could also use them to capture work-in-progress or state information before a package unloads.