Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2011 08:55:01 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: again, ports that stop daemons
Message-ID:  <4ED9E3E5.2010400@infracaninophile.co.uk>
In-Reply-To: <CADLo83_oR02q5XAM%2BcmgZE3YmoTkoXdLp-KCZEn-=kVz7ph21A@mail.gmail.com>
References:  <4ED8C0F1.807@FreeBSD.org> <CAJ_iqta0OCB8SktnR4fXawvEGiGx92wEgtaowMp1U2ooHiMa7Q@mail.gmail.com> <20111202195555.GD1913@azathoth.lan> <4ED95A95.9040805@FreeBSD.org> <CADLo83_oR02q5XAM%2BcmgZE3YmoTkoXdLp-KCZEn-=kVz7ph21A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC038C84FD00B2A26766885D5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/12/2011 08:38, Chris Rees wrote:
> A little service magic would do;
>=20
> [ service blargh status 2>/dev/null ] && echo "DON'T FORGET TO STOP
> THIS SERVICE!!!"
>=20
> I'll prepare a patch, as long as there's some chance of it going in ;)

Of course, there's always the problem that the service may be being
deleted entirely, or may radically change the way it manages start/stop
of its daemons, so you get left with a bunch of old daemons still
running and no foolproof way of identifying and stopping them.

It's all down to ports not having an 'update' target per se, and
conceptually turning that into 'deinstall, install' -- you can't tell
that any particular 'deinstall' invocation is intended to be closely
followed by a new install or not.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigC038C84FD00B2A26766885D5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Z4/AACgkQ8Mjk52CukIxs3ACeNlrHLqOscb8wBAhCxLpZANoN
X3YAn1Rvaz4EQudS4ZmxLoLEnwOPiawy
=gN5Q
-----END PGP SIGNATURE-----

--------------enigC038C84FD00B2A26766885D5--



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