Jules Colding <[EMAIL PROTECTED]> yazmış: > 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()? > > Or is this ultimately a big no-no?? >
Have a look at pkg_setup functions in postfix ebuilds. This can give you an idea about how to do it properly. -- ali polatel (hawking)
pgp9pvL5DktEe.pgp
Description: PGP signature