This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 dot  dot  dot 
> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]