From 2ceb32d95af30f91ec8027c69476fd781775e649 Mon Sep 17 00:00:00 2001 From: Joshua Daniel Franklin Date: Thu, 26 Jan 2006 04:39:04 +0000 Subject: * faq-programming.xml (faq.programming.building-cygwin): Add list of packages required for building and exact check instructions. * faq-setup.xml (faq.setup.uninstall-service): New instructions on uninstalling a cygwin service. (faq.setup.uninstall-all): Reference new service uninstall FAQ. --- winsup/doc/faq-setup.xml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'winsup/doc/faq-setup.xml') diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml index 9b40589e4..fa0710492 100644 --- a/winsup/doc/faq-setup.xml +++ b/winsup/doc/faq-setup.xml @@ -320,6 +320,20 @@ the action reads ``Uninstall''. Proceed by clicking ``Next''. + +How do I uninstall a Cygwin service? + +If you don't know the name of the service, you can list all +services you have installed with cygrunsrv -L. Before +removing the service, you should stop it with +cygrunsrv --stop service_name. +If you have inetd configured to run as a standalone +service, it will not show up in the list, but cygrunsrv --stop inetd +will work to stop it as well. Lastly, remove the service with +cygrunsrv --remove service_name. + + + How do I uninstall all of Cygwin? @@ -328,11 +342,11 @@ the action reads ``Uninstall''. Proceed by clicking ``Next''. of Cygwin is as follows: -Remove all Cygwin services. If a service is currently running, it must -first be stopped with cygrunsrv -E name, where name -is the name of the service. Then use cygrunsrv -R name to uninstall the -service from the registry. Repeat this for all services that you installed. -Common services that might have been installed are sshd, cron, +First remove all Cygwin services by repeating the instructions +in for +all services that you installed. Common services that might have been +installed are sshd, cron, cygserver, inetd, apache, and so on. @@ -341,7 +355,7 @@ that might be running in the background. Remove all mount information by typing umount -A and then exit the command prompt and ensure that no Cygwin processes remain. Note: If you want to save your mount points for a later reinstall, first save the output of mount -m as described at -http://cygwin.com/cygwin-ug-net/using-utils.html#mount. +. Delete the Cygwin root folder and all subfolders. If you get an error -- cgit v1.2.3