Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGOm3-0005UA-Le for pgsql-docs@postgresql.org; Tue, 25 Sep 2012 06:37:39 +0000 Received: from mail-ie0-f174.google.com ([209.85.223.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGOm1-0006jn-Bp for pgsql-docs@postgresql.org; Tue, 25 Sep 2012 06:37:39 +0000 Received: by ieak13 with SMTP id k13so13058383iea.19 for ; Mon, 24 Sep 2012 23:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ujf2x4ImT3peTpLVxDO1GIhl5EQ0EKkGWoRpZihp0Pg=; b=YpZk7Bgs6602iMTwXWvZxtV+s+HnfC0w9aVH3i1mMh8lJAK8q2hecTvZcK6kjcQSia eweAYLwlCLn+zobriIo6AS6bZ52+8X6GYjdknKg3vwfntltGqhLV8u7UBvJVOzHidw8t vRRA++N1AMIRU+nxmXRLuNHIv6cFUF7zsAMF5YHIfPxse0KhiGOmvMVMGzSdRXw0Ke1V 87qLVk9FhPI6xsD2sYrHuHBdXOZlEyIf65URB8s8jaK5RfJNT3f+CWh+pt+oUlXdZx25 3otYPErT1Vy2PkWOGgH6uu+Lptuyxw/s15+16d2qmGdP82vD8bJT98KQ10krm3VPB/+V OHJw== MIME-Version: 1.0 Received: by 10.50.186.196 with SMTP id fm4mr7245557igc.8.1348555055440; Mon, 24 Sep 2012 23:37:35 -0700 (PDT) Received: by 10.50.40.199 with HTTP; Mon, 24 Sep 2012 23:37:35 -0700 (PDT) Date: Tue, 25 Sep 2012 10:37:35 +0400 Message-ID: Subject: Wrong startup script of PostgreSQL 9.1.2 under OpenBSD 5.1 From: Denis Lapshin To: pgsql-docs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Pg-Spam-Score: -2.5 (--) X-Archive-Number: 201209/21 X-Sequence-Number: 7473 On page http://www.postgresql.org/docs/9.1/interactive/server-start.html was published a wrong startup script for automatic starting PostgeSQL during boot under OpenBSD. Here is a working one which should be placed into /etc/rc.local file: if [ -x /usr/local/bin/pg_ctl -a -x /usr/local/bin/postgres ]; then su - _postgresql -c '/usr/local/bin/pg_ctl -D /var/postgresql/data start -l /var/postgresql/logfile -s' echo -n 'postgresql' fi Please correct your manual pages ASAP in order to prevent spending time to fix it. Denis