delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/20/12:57:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
content-class: urn:content-classes:message
Subject: RE: cygrunsrv version 0.94-1
Date: Thu, 20 Sep 2001 11:57:09 -0500
MIME-Version: 1.0
Message-ID: <10FA6A0E1B5C89408AD99E6861C124F0043666@sumadc.SUMA.COM>
X-MS-Has-Attach:
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
X-MS-TNEF-Correlator:
Thread-Topic: cygrunsrv version 0.94-1
Thread-Index: AcFB82+LxpuYaUSKRfmU4AHvidj6WAAAcT3g
From: "Gregg Lebovitz" <gregg AT suma DOT com>
To: <fred AT ontosys DOT com>
Cc: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA24790

fred,

Thanks for the reply. I am slowly figuring this out.

Gregg

-----Original Message-----
From: fred AT ontosys DOT com [mailto:fred AT ontosys DOT com]
Sent: Thursday, September 20, 2001 11:43 AM
To: Gregg Lebovitz
Cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv version 0.94-1


On Thu, Sep 20, 2001 at 11:26:25AM -0500, Gregg Lebovitz wrote:
> i.e. if I run 'cygrunsrv --install foo --path
"c:\cygwin\usr\sbin\foo"'
> the service foo is created, but its path is c:\cygwin\bin\cygrunsrv
and
> no arguments are passed to the program.

Any service created by cygrunsrv will have cygrunsrv.exe as the main
executable (ImagePath registry key value).  That program in turn
executes the actual service program with its parameters.  See the
Parameters subkey in the registry, particularly the AppPath and
AppArgs values.  Values for --env are stored in a similar subkey.

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019