X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E19B0535A7 for ; Fri, 22 Apr 2005 17:12:01 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54404-01 for ; Fri, 22 Apr 2005 20:11:58 +0000 (GMT) Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by svr1.postgresql.org (Postfix) with ESMTP id A727753571 for ; Fri, 22 Apr 2005 17:11:56 -0300 (ADT) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.51) id 1DP4VJ-00089f-VU for pgsql-admin@postgresql.org; Fri, 22 Apr 2005 22:11:57 +0200 Received: from astrasbourg-251-1-27-91.w82-126.abo.wanadoo.fr ([82.126.145.91] helo=michelle1.private.tamay-dogan.net) by mx3.freenet.de with esmtpa (ID asmtp.tdnet@freenet.de) (Exim 4.51 #8) id 1DP4VJ-0004GP-Mt for pgsql-admin@postgresql.org; Fri, 22 Apr 2005 22:11:57 +0200 Received: by michelle1.private.tamay-dogan.net (sSMTP sendmail emulation); Fri, 22 Apr 2005 22:11:56 +0200 Date: Fri, 22 Apr 2005 22:11:56 +0200 From: Michelle Konzack To: pgsql-admin@postgresql.org Subject: Re: Another Data directory for second database - feasible? Message-ID: <20050422201156.GD9228@freenet.de> References: <60hdhy1wjz.fsf@dba2.int.libertyrms.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ff5AkW+g6+eEohN" Content-Disposition: inline In-Reply-To: <60hdhy1wjz.fsf@dba2.int.libertyrms.com> X-Message-Flag: Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. X-Disclaimer-DE: Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. Organisation: Michelle's Selbstgebrautes X-Operating-System: Linux michelle1.private 2.4.27-2-k7 X-Uptime: 22:05:24 up 6 days, 41 min, 6 users, load average: 0.01, 0.09, 0.05 X-Homepage-1: http://www.debian.tamay-dogan.homelinux.net/ X-Homepage-2: http://michelle.konzack.home.tamay-dogan.homelinux.net/ User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.114 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/323 X-Sequence-Number: 17336 --7ff5AkW+g6+eEohN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 2005-04-22 14:44:00, schrieb Chris Browne: > One of my coworkers has built a really nice init script that's good at > building the directory structure where the DBs will be stowed, hence... >=20 > $ vi init_db3.sh > [modify config] > $ ./init_db3.sh mkdir > [builds directory structure] > $ ./init_db3.sh initdb > [runs initdb for you] > $ ./init_db3.sh start >=20 > At one point, he was trying to come up with a way of releasing it to > the community; hopefully poking Drew can lead to that coming > available, someday... Nice but I use under Debian/WOODY the "daemon" Directory My /etc/init.d/tdpgsql use 'run-parts' and start all databases in /etc/tdpgsql.d/* So you put files like /etc/tdpgsql.d/1michelleprivat /etc/tdpgsql.d/2secret /etc/tdpgsql.d/3business /etc/tdpgsql.d/friends /etc/tdpgsql.d/zzz with all the configurations and 'run-parts' will start or stop them in in order. Please note, that the files in "/etc/tdpgsql.d/" should be executable. Greetings Michelle --=20 Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com) --7ff5AkW+g6+eEohN Content-Type: application/pgp-signature; name="signature.pgp" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCaVqMC0FPBMSS+BIRAokaAJ9QXGoruZ15T6HacnB47KB0CbNUngCfeJ6H l9WGGb95G6IN8nLomn+3/KA= =vlkN -----END PGP SIGNATURE----- --7ff5AkW+g6+eEohN--