X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <786EBDA1AC46254B813E200779E7AD36296EEC@srv1163ex1.flightsafety.com> References: <786EBDA1AC46254B813E200779E7AD36296EEC AT srv1163ex1 DOT flightsafety DOT com> Date: Fri, 31 Jul 2009 15:08:24 +0200 Message-ID: <6910a60907310608m2aea62d9g1efa9eea9b803f76@mail.gmail.com> Subject: Re: [1.7] Postgresql service uninstall bug From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 2009/7/31 Thrall, Bryan: > 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 =A0 =A0 2009-07-30 18:06:35.931709600 > -0500 > @@ -113,7 +113,7 @@ install() { > =A0uninstall() { > =A0 =A0 =A0 =A0 echo -n $"Uninstalling $prog daemon: " > =A0 =A0 =A0 =A0stop > - =A0 =A0 =A0 cygrunsrv --remove $prog > + =A0 =A0 =A0 cygrunsrv --remove $name > =A0 =A0 =A0 =A0 echo "done." > =A0} > =A0reload() { > Thanks! Fixed for 8.4.0-1 which is currently in test and will be released shortly. --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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