Krishanu Bokshi

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
15:40
93 views
need to run second service after rebooting the agent.
Hi All,
I have two service attached to a machine.
service1 is to uninstall a software.
And after uninstallation there are some hanging folder which can not be deleted until i restart the system. So for that i have
service2 which will delete some hanging folder which is not possible to delete without rebooting the system.
Now my question can we maintain those two package in such a way that 1st package will ask for reboot and when user will restart the system so that second package will be automatically notified to delete those folder.
I have two service attached to a machine.
service1 is to uninstall a software.
And after uninstallation there are some hanging folder which can not be deleted until i restart the system. So for that i have
service2 which will delete some hanging folder which is not possible to delete without rebooting the system.
Now my question can we maintain those two package in such a way that 1st package will ask for reboot and when user will restart the system so that second package will be automatically notified to delete those folder.
1 Reply
Karl Skelton

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-08
12:30
On the first service you can set the ZSERVICE.REBOOT attribute to AI=I and this will force an immediate reboot after this service is installed. After the reboot the connect will automatically be restarted using the same command string used to perform the initial connect and thus resovle, install, un-install any remaining services including service 2.
Check out the application manager guide for more information on the ZSERVICE.REBOOT parameter.
HTH.
Karl.
Check out the application manager guide for more information on the ZSERVICE.REBOOT parameter.
HTH.
Karl.