From: Michelle Konzack <linux4michelle@freenet.de>
To: pgsql-admin@postgresql.org
Subject: Re: Another Data directory for second database - feasible?
Date: Fri, 22 Apr 2005 22:11:56 +0200
Message-ID: <20050422201156.GD9228@freenet.de> (raw)
In-Reply-To: <60hdhy1wjz.fsf@dba2.int.libertyrms.com>
References: <C45835824D00A844BBD0F032D5CDED920116DA52@pisgana01sxch01.ana.firstamdata.com>
<60hdhy1wjz.fsf@dba2.int.libertyrms.com>
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...
>
> $ 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
>
> 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
--
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)
Attachments:
signature.pgp (application/pgp-signature, 188B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: linux4michelle@freenet.de
Subject: Re: Another Data directory for second database - feasible?
In-Reply-To: <20050422201156.GD9228@freenet.de>
References: <C45835824D00A844BBD0F032D5CDED920116DA52@pisgana01sxch01.ana.firstamdata.com> <60hdhy1wjz.fsf@dba2.int.libertyrms.com> <20050422201156.GD9228@freenet.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox