Thanks, Chris. That's a great idea--Apache's restart mechanism is exactly what I want. I'm using 'net start inetd' already, but it doesn't work--system error reports that it's an 'unknown service'--if you look in the 'services' gui it won't appear until after a reboot. It appears that that exe loads its list of services from the registry only on reboot normally, but there is some way to circumvent it that the MS Installer guys have worked out, too.
That MS obsession with reboots has always bugged me (and a lot of other's, I think) and I've always imagined that it was due to a 1980's model of a single user turning on his machine when he uses it, and turning it off right after, so no need to ever refresh any configuration information--just load it up once at boottime! Once it gets built in at a fundamental level in the early design its very hard to purge. It wasn't really true for a lot of uses in the '80's and it's way off base for servers today. Thanks again, Jim ----- Original Message ----- From: "Chris Devers" <[EMAIL PROTECTED]> To: "James Eshelman" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, February 24, 2002 11:39 PM Subject: Re: [Boston.pm] Windows services reload? On Sun, 24 Feb 2002, James Eshelman wrote: > Any guidance would be greatly appreciated. Maybe it would be worth it to skim over Apache's source. The Win32 version as set up for NT comes with a mechanism to manage the apache.exe service in a way roughly similar to what you seem to be asking for. Not sure how it works exactly -- NT services don't seem to correspond to Unix daemons as well as I keep thinking they should, and I still can't see why simple operations seem require a reboot most of the time -- but Apache shows that you can certainly work at a level where reboots aren't necessary. Or, as Jerrad noted, the 'c:\> net $foo' commands might help... *shrug* -- Chris Devers [EMAIL PROTECTED] Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
