|
I have a perl script that installs and registers in
the registry a Windows NT service (inetd). I would like to have the WinNT
Service Control Manager pick up the new registry value and start the
service without requiring a system reboot. This appears possible
since an install of this service by the MS Installer starts
it without a reboot. Simply loading the registry, however, doesn't
seem to load the Service Manager unless there's a reboot. Using
the 'kill' function (from the NT resource kit) on the 'services'
process and then re-running it proved too heavy-handed a solution, as you might
expect,--hung machine--every service on the system must get restarted that
way. I haven't been able to turn up anything in the MS Knowledge Base,
MSDN library, Win32API, or ResKit help files so far to indicate how this might
be done. I was hoping for something simple and straightforward
like the inetd restart scripts that come with Linux et
al. I'm trying to avoid the MSInstaller and all it's freight and
heavy footprint, with the pure perl solution--about a 10:1 ratio in size and
complexity here.
Any guidance would be greatly appreciated.
Regards,
Jim Eshelman
|
- Re: [Boston.pm] Windows services reload? James Eshelman
- Re: [Boston.pm] Windows services reload? Chris Devers
- Re: [Boston.pm] Windows services reload? James Eshelman
- Re: [Boston.pm] Windows services reload? Charles Reitzel
- Re: [Boston.pm] Windows services reload? James Eshelman
- Re: [Boston.pm] Windows services reload? Charles Reitzel
- Re: [Boston.pm] Windows services reload? Jerrad Pierce
