Is there a way to control the serivce control manager?

From: Mark K Vallevand (mark.vallevand_at_unisys.com)
Date: 09/02/04


Date: Thu, 2 Sep 2004 11:08:50 -0500

Our XPe device has two personalities. There is one suite of software
installed, but a switch on the device sets the personality. We'd like to
start and run a different set of services depending on that switch. In one
mode, we'd run just a simple service that serves TCP/IP socket connections.
In the other mode, we'd run a full set of services: our services, IIS, DTC,
web services, and other stuff.

Is there a way to have a program (or service) run early enough to change the
configuration of services? Can a service stop, start, change dependencies
of other services, and expect that the service control manager will see the
changes and do the right thing?

-- 
Regards.
Mark K Vallevand


Relevant Pages

  • Re: Is there a way to control the serivce control manager?
    ... > Our XPe device has two personalities. ... but a switch on the device sets the personality. ... > control manager will see the changes and do the right thing? ...
    (microsoft.public.windowsxp.embedded)
  • Re: DeXter
    ... >> Huh? ... Nothing prevents you from doing that in Delphi 2005. ... >> easily develop in different personalities and switch between them. ...
    (borland.public.delphi.non-technical)
  • Re: posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
    ... SM>Using an environment variable to switch ... SM>between radically different personalities is an appalling idea. ... utility output until you set LC_ALL=C, yet I have still to see a script ... SM>If multiple personalities is a desirable trait (and it's not clear that it ...
    (freebsd-arch)
  • Re: posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
    ... I personally am not fond of commands which COMPLETELY ... >change their behavior based on environment variables. ... Using an environment variable to switch ... If multiple personalities is a desirable trait (and it's not clear that it ...
    (freebsd-arch)