delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/23/10:30:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040423101602.0287e518@127.0.0.1>
X-Sender:
Date: Fri, 23 Apr 2004 10:24:43 -0400
To: "Richard Campbell" <richard DOT campbell AT air2web DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: cygrunsrv
In-Reply-To: <C1A7FA5F2793A94BA223673B8ADAF4A1C98A33@exchange.air2web.co m>
References: <C1A7FA5F2793A94BA223673B8ADAF4A1C98A33 AT exchange DOT air2web DOT com>
Mime-Version: 1.0

At 09:18 AM 4/23/2004, you wrote:
>>When I try to install services using cygrunsrv, the XP service manager
>>always lists the path to the executable as cygrunsrv rather than the
>>executable I tried to install.  What might I be doing wrong?
>>Thanks...
>
>Possibly nothing.
>
>Looking at my services, cron/inetd/sshd, all of which are working and 
>all of which were basically default installs, I note that cron and sshd
>both show the path to the executable as cygrunsrv.


Right.  There is nothing wrong with this.  'cygrunsrv' is the program that's
run to start the Cygwin service you want.  The service is a parameter that's
stored with the registry.  You can see the information you're looking for 
with the following:

cat /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/<service name>/Parameters/AppPath

where <service name> is the name you gave to the service at install time.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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