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: 
* Re: [gentoo-dev] Re: How should I kill a daemon from an ebuild file?
  @ 2007-07-27 17:19 99%     ` Mike Frysinger
  0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2007-07-27 17:19 UTC (permalink / raw
  To: gentoo-dev

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

On Friday 27 July 2007, Roy Marples wrote:
> On Fri, 2007-07-27 at 11:14 -0400, Mike Frysinger wrote:
> > On Friday 27 July 2007, Ali Polatel wrote:
> > > Have a look at pkg_setup functions in postfix ebuilds. This can give
> > > you an idea about how to do it properly.
> >
> > that isnt half bad, but still not good.  i'd propose you should actually
> > be doing:
> > /etc/init.d/postgres --quiet status
> > and using that to determine the state of things
>
> Just to note, baselayout-1 is a little wierd like that as in it's not
> exactly quiet if init script dependencies need to be updated.

... which will be fixed

> Also, if the rev-bump relies on a new init script then you're SOL as
> it's not etc-updated.

the check is in pkg_setup, so this isnt an issue ... but this could easily be 
true for any checking after the package is installed
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 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 15:14     ` [gentoo-dev] " Mike Frysinger
2007-07-27 16:33       ` Roy Marples
2007-07-27 17:19 99%     ` Mike Frysinger

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