www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/14/16:22:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4AAEA844.9020505@x-ray.at>
Date: Mon, 14 Sep 2009 22:32:04 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: PostgerSQL startup script bug
References: <f4d6f44b0908180205t333f9f25la723bb550d522382 AT mail DOT gmail DOT com>
In-Reply-To: <f4d6f44b0908180205t333f9f25la723bb550d522382@mail.gmail.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

Huang Bambo schrieb:
> The cygwin 1.7 don't need “server” tag in CYGWIN environment but the
> start up of postgresql 8.2.11 checked this tag.
> 
> code:
> 131 check_cygserver() {
> 132     # Check for running cygserver processes first.
> 133     if ps -ef | grep -v grep | grep -q cygserver
> 134     then
> 135         echo -n "- cygserver OK - "
> 136         # echo "OK cygserver running"
> 137     else
> 138     echo "ERROR cygserver must be started"
> 139     echo cygrunsrv -S cygserver
> 140     exit 1
> 141     fi
> 142     # check for CYGWIN containing server
> 143     if [ -n "${CYGWIN%server}" ]
> 144     then
> 145     echo "ERROR CYGWIN must contain server for cygserver to work properly"
> 146     exit 1
> 147     fi
> 148 }
> 149
> 
> from 142 to 147 is not needed in cygwin 1.7

Thanks for the heads up.
This package is still from 1.5.
-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019