Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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" , From: Larry Hall Subject: RE: cygrunsrv In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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//Parameters/AppPath where 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/