On Fri, 2007-07-27 at 14:54 +0200, Jules Colding wrote:
> Hi,
> 
> I have an ebuild (see below) for a small keyring daemon. I would like
> to
> kill the daemon process, if it is running, whenever it is emerged
> again
> to ensure that no running daemon process refers to an old install.
> 
> Is there a clean and recommended way of doing this in an ebuild or
> should I just use killall in pkg_postinst()?

You might wanna check the -dev mailing list to be sure, but I'm almost
certain that they'll tell you this is a no-no.  Generally speaking
ebuilds should build/install packages and not affect the system in ways
like starting/killing processes. A simple ELOG message is the preferred
method.

Nevertheless, the -dev list is probably the better forum to answer your
question.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list

Reply via email to