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/