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 From: ericblake AT comcast DOT net To: cygwin AT cygwin DOT com Subject: cygrunsrv wishlist Date: Thu, 03 Feb 2005 15:41:56 +0000 Message-Id: <020320051541.14416.420246430006F6CD0000385022007503300A050E040D0C079D0A@comcast.net> X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0 I would like it if cygrunsrv added a couple of options. A -L (--list) command-line option with no arg would list all the cygwin services that have been installed via cygrunsrv -I. And a -P (--print) option with a single arg would display the install options that were used to install that cygwin service. Something like: $ cygrunsrv -L cron sshd $ cygrunsrv -P cron -I cron -p /usr/sbin/cron -e CYGWIN="ntsec" -a "-D" -d "Cron daemon" Be careful with displaying -w, as it is a password. The reason I ask for this is that I would like to capture the tweaks I made to a cygwin service on one machine to use the same install parameters on another machine. Currently, the only way I can find to list exactly what parameters I used during installation is to browse /proc/registry/HKLM/SYSTEM/CurrentControlSet/Services, provided I can even remember or spot the names of all the services that I installed. -- 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/