again, ports that stop daemons

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Dec 3 08:55:17 UTC 2011


On 03/12/2011 08:38, Chris Rees wrote:
> A little service magic would do;
> 
> [ service blargh status 2>/dev/null ] && echo "DON'T FORGET TO STOP
> THIS SERVICE!!!"
> 
> 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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20111203/39882266/signature.pgp


More information about the freebsd-ports mailing list