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: matt...@infracaninophile.co.uk Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature