Suppose your service uses a third-party tool and it needs to be installed on the compute host, or you want to run a script to perform some actions for proper functioning of the service program. You can configure this in a package-specific deployment.xml configuration file.
The file must be called deployment.xml.
<Deployment xmlns="http://www.platform.com/Symphony/Deployment><install><osTypes><osType name="NTX86" startCmd="setup" timeout="600" successCodes="0,1,2"/></osTypes></install><uninstall><osTypes><osType name="NTX86" startCmd="setup -u" timeout="30" successCodes="0"/></osTypes></uninstall></Deployment>
For example, if your package contained a subdirectory called scripts with the command you want to invoke called myscript, specify:
startCmd="scripts\myscript"
The file must be called deployment.xml.
<Deployment xmlns="http://www.platform.com/Symphony/Deployment><install><osTypes><osType name="LINUX86" startCmd="setup" timeout="600" successCodes="0,1,2"/></osTypes></install><uninstall><osTypes><osType name="LINUX86" startCmd="setup -u" timeout="30" successCodes="0"/></osTypes></uninstall></Deployment>
For example, if your package contained a subdirectory called scripts with the command you want to invoke called myscript, specify: