How can I tell how a service was installed with cygrunsrv?

Jared Cheney jaredcheney@yahoo.com
Fri Feb 21 21:28:00 GMT 2003


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@panix.com> wrote in message
news:00b101c2d7b6$db11c5f0$6301a8c0@readyposition.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/



More information about the Cygwin mailing list