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

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

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

however, that is still incorrect for sure when:
 - ROOT != /
 - cross-compiling
-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 14:40     ` [gentoo-dev] " Ali Polatel
2007-07-27 15:14 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