Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 11:13:00 +0100
From:      Josef Karthauser <joe@FreeBSD.org>
To:        ports@freebsd.org
Subject:   portupgrade and daemons.
Message-ID:  <20040523101300.GA43113@genius.tao.org.uk>

next in thread | raw e-mail | index | archive | help

--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

A number of ports run daemons, such as postfix, which are started in
/usr/local/tc/rc.d.  Portupgrade doesn't appear to know anything about
these, and so it will quite happily attempt to upgrade a daemon that is
still running.  Idealally it ought to DTRT, which I guess is some
combination of shutdow the existing port down, upgrade it and then
restart it.  There are some rudiments of knowledge about rc.d/ scripts
built into the Mk subsystem so I wonder whether it's possible to hook
into that in some way.

Thoughts welcome.

Joe
--=20
Josef Karthauser (joe@tao.org.uk)	       http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker)     http://www.uk.FreeBSD.org/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an=
d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iEYEARECAAYFAkCweSwACgkQXVIcjOaxUBbFkwCgt0LgCm4dkE5sVtyLzIL5aigp
aQEAn1VI4/TC3drolmtI/42trGPWljlW
=hVKv
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040523101300.GA43113>