Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: fred@ontosys.com
Date: Thu, 20 Sep 2001 11:43:06 -0500
To: Gregg Lebovitz <gregg@suma.com>
Cc: cygwin@cygwin.com
Subject: Re: cygrunsrv version 0.94-1
Message-ID: <20010920114306.A18417@ontosys.com>
References: <10FA6A0E1B5C89408AD99E6861C124F0043665@sumadc.SUMA.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <10FA6A0E1B5C89408AD99E6861C124F0043665@sumadc.SUMA.COM>; from gregg@suma.com on Thu, Sep 20, 2001 at 11:26:25AM -0500

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@OntoSys.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/

