public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] Re: How should I kill a daemon from an ebuild file?
  @ 2007-07-27 14:40 99% ` Ali Polatel
  0 siblings, 0 replies; 1+ results
From: Ali Polatel @ 2007-07-27 14:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

Jules Colding <colding@omesc.com> 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)

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-07-27 13:52     [gentoo-dev] How should I kill a daemon from an ebuild file? Jules Colding
2007-07-27 14:40 99% ` [gentoo-dev] " Ali Polatel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox