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 16:33 99%     ` Roy Marples
  0 siblings, 0 replies; 1+ results
From: Roy Marples @ 2007-07-27 16:33 UTC (permalink / raw
  To: gentoo-dev

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.

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

So although what Mike posted is correct, there's also a good chance It
Just Won't Work (TM)

So that's another argument for no.

Thanks

Roy

-- 
gentoo-dev@gentoo.org mailing list



^ 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     ` [gentoo-dev] " Ali Polatel
2007-07-27 15:14       ` Mike Frysinger
2007-07-27 16:33 99%     ` Roy Marples

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