delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/21/15:59:40

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Jared Cheney" <jaredcheney AT yahoo DOT com>
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: <b363gq$o5g$1@main.gmane.org>
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" <ocheret AT panix DOT com> 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/

- Raw text -


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