From: Roy Marples <uberlord@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: How should I kill a daemon from an ebuild file?
Date: Fri, 27 Jul 2007 17:33:43 +0100 [thread overview]
Message-ID: <1185554023.1085.2.camel@uberlaptop.marples.name> (raw)
In-Reply-To: <200707271114.15480.vapier@gentoo.org>
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
next prev parent reply other threads:[~2007-07-27 16:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Roy Marples [this message]
2007-07-27 17:19 ` Mike Frysinger
2007-07-27 14:51 ` [gentoo-dev] " Jeroen Roovers
2007-07-27 15:11 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1185554023.1085.2.camel@uberlaptop.marples.name \
--to=uberlord@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox