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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Jared Cheney" Subject: Re: How can I tell how a service was installed with cygrunsrv? Date: Fri, 21 Feb 2003 13:51:42 -0700 Lines: 24 Message-ID: References: <00b101c2d7b6$db11c5f0$6301a8c0 AT readyposition DOT com> X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Look in: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters (where 'sshd' is the name of the service installed via cygrunsrv) The Parameters key contains the command line arguments needed for the service to run, I believe in the key AppArgs. The path the binary exists in is in the key AppPath. Hope that helps, Jared "Chuck Ocheret" wrote in message news:00b101c2d7b6$db11c5f0$6301a8c0 AT readyposition DOT com... > Is there some option to the cygrunsrv command or some file I can look at > that will show me what command line was provided when cygrunsrv was used > to install a service? I would have thought that some argument to ps > would show command line arguments but there doesn't seem to be such an > option on cygwin's ps. Any advice would be appreciated. > > Thanks, > ~chuck > > -- 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/