delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=AWL,BAYES_40 |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | [1.7] Postgresql service uninstall bug |
Date: | Thu, 30 Jul 2009 18:11:14 -0500 |
Message-ID: | <786EBDA1AC46254B813E200779E7AD36296EEC@srv1163ex1.flightsafety.com> |
From: | "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
The /etc/rc.d/init.d/postgresql script has a bug that makes it slightly harder to uninstall the service; see the patch below: $ diff -wup /etc/rc.d/init.d/postgresql{,.mod} --- /etc/rc.d/init.d/postgresql 2009-01-07 10:48:52.001000000 -0600 +++ /etc/rc.d/init.d/postgresql.mod 2009-07-30 18:06:35.931709600 -0500 @@ -113,7 +113,7 @@ install() { uninstall() { echo -n $"Uninstalling $prog daemon: " stop - cygrunsrv --remove $prog + cygrunsrv --remove $name echo "done." } reload() { -- Bryan Thrall FlightSafety International bryan DOT thrall AT flightsafety DOT com =20 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |