From: | Mike Frysinger <vapier@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Re: How should I kill a daemon from an ebuild file? | ||
Date: | Fri, 27 Jul 2007 15:18:30 | ||
Message-Id: | 200707271114.15480.vapier@gentoo.org | ||
In Reply to: | [gentoo-dev] Re: How should I kill a daemon from an ebuild file? by Ali Polatel |
1 | On Friday 27 July 2007, Ali Polatel wrote: |
2 | > Have a look at pkg_setup functions in postfix ebuilds. This can give you |
3 | > an idea about how to do it properly. |
4 | |
5 | that isnt half bad, but still not good. i'd propose you should actually be |
6 | doing: |
7 | /etc/init.d/postgres --quiet status |
8 | and using that to determine the state of things |
9 | |
10 | however, that is still incorrect for sure when: |
11 | - ROOT != / |
12 | - cross-compiling |
13 | -mike |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: How should I kill a daemon from an ebuild file? | Roy Marples <uberlord@g.o> |