Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: Date: Wed, 16 Jun 1999 10:51:01 -0700 (PDT) From: To: cygwin AT sourceware DOT cygnus DOT com In-reply-to: <3.0.5.32.19990616133212.00a69be0@pop.ma.ultranet.com> (lhall AT rfk DOT com) Subject: Re: daemons as services again X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 16 Jun 1999 13:32:12 -0400 From: "Larry Hall (RFK Partners, Inc)" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:27 AM 6/16/99 -0700, itz AT lbin DOT com wrote: >Sorry for slightly off-topic post, but I believe this was not touched >upon in the (many) previous threads about services. > >Can a service have command line arguments? Unix daemons are just >regular programs in this regard, and many are written to rely on their >command line as the primary way to modify their behavior. But the >Invoker utility seems to provide no avenue to pass arguments to the >newly installed service, and in fact when I hold my nose and enter the >GUI (Control Panel|Services), there's no trace of arguments, either. > >Out of luck again? > >-- >Ian Zimmerman >Lightbinders, Inc. >2325 3rd Street #324 >San Francisco, California 94107 >U.S.A. > I'm no expert, but you can type parameters to a service in the control panel/ services. Click on the service you want and enter the parameters in the "Startup Parameters" box. Then, start the service. The one thing I'm not sure about is whether or not the parameters entered in this way are persistent. I seem to remember having some trouble with this, but its been a while so my memory may not be clear... I see no "Startup Parameters" Box. All I see in the resulting dialog is: Radio Box: Automatic/Manual/Disabled Group Box: Log on as Radio Box: System Account/This Account Checkbox: Allow Service to Interact with Desktop Edit Boxes: This Account, Password, Confirm Password and the usual pushbuttons. NT Workstation 4.0, SP5. -- Ian Zimmerman Lightbinders, Inc. 2325 3rd Street #324 San Francisco, California 94107 U.S.A. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com