remove-as-service   [plain text]


#!/bin/sh
printf "____________________________________________________________\n";
printf "This is a sample script to uninstall Jabberd as a Windows NT\n";
printf "service using the Cygwin utility cygrunsrv.  This script\n";
printf "assumes you have installed Jabberd as an NT service NAMED\n";
printf "'jabberd', which is the case if you used the corresponding\n";
printf "install-as-service script to install JabberD as a service.\n";
printf "____________________________________________________________\n\n";
printf "Press [Enter] when ready\n";
read input

cygrunsrv --remove jabberd