[Pkg-postgresql-private] separate init script for p-contrib
Martin Pitt
martin@piware.de
Sat, 27 Mar 2004 20:07:24 +0100
--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi!
On 2004-03-27 18:59 +0000, Oliver Elphick wrote:
> On Sat, 2004-03-27 at 09:52, Martin Pitt wrote:
> > Hi!
> >=20
> > Would anyone object if I operate out the autovacuum startup from
> > postgresql's init script and give it its own one? Then we don't need
> > to restart postgresql on p-contrib installation. Or is there any
> > reason we have to restart the postmaster when starting the autovacuum
> > daemon?
>=20
> I think I put it in the postgresql start up because (of course)
> autovacuum needs the postmaster running, so it must start after it and
> stop before it. If you stop the postmaster outside the boot sequence
> (/etc/init.d/postgresq stop), it should stop the autovacuum first.
>=20
> If you separate them, I don't see how you will be certain of that.
Okay, then I leave it as it is.
> In order to start autovacuum with a postgresql-contrib installation
> after postgresql is started, you could add an autovacuum-start target to
> postgresql's init script, which the pg_contrib postinst would call.
I did not intend to make it more complicated; the current solution
works, I just wanted to avoid restarting the postmaster when p-contrib
is installed. OTOH, this does not really hurt, so let's forget about
that :-)
Thanks and have a nice day!
Martin
--=20
Martin Pitt Debian GNU/Linux Developer
martin@piware.de mpitt@debian.org
http://www.piware.de http://www.debian.org
--ctP54qlpMx3WjD+/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAZdDsDecnbV4Fd/IRAnz+AKDn/UweZCPDwRkqQrVt/z5FZH4UdQCbB/DR
coNQ0ZWPyD0zD2zShu8EFds=
=FFQy
-----END PGP SIGNATURE-----
--ctP54qlpMx3WjD+/--