From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mysql use flag witout server, using only client libaries
Date: Sat, 31 Jul 2010 15:01:24 -0700 [thread overview]
Message-ID: <4C549D34.2070101@badapple.net> (raw)
In-Reply-To: <E325A6A2-1397-4595-B36F-55A9C52027ED@stellar.eclipse.co.uk>
On 7/31/2010 1:58 AM, Stroller wrote:
>
> On 29 Jul 2010, at 21:37, Tomas Krasnican wrote:
>> ... But, when is the mysql in the depend part of rc script (for
>> example, when you emerge syslog-ng with mysql enabled flag, that will
>> be puted here automaticly), the running localy database is required
>> for start this service. It is not required to have it rc-enabled the
>> mysql database, because you have already enabled another service,
>> which it requires..
>
> Surely the rc-scripts should use "before" and "after" instead of "needs"
> or "depends". I haven't looked at this recently, but I'm pretty sure
> there used to be such a distinction.
>
> Stroller.
For grins I compiled sql support into syslog-ng. Here's the new rc script.
depend() {
need net
use mysql dns logger netmount postgresql
after sshd
}
It'll load after Mysql only if it exists in the current runlevel. As
other people have said, there isn't any problem to solve here.
kashani
prev parent reply other threads:[~2010-07-31 22:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 14:54 [gentoo-user] mysql use flag witout server, using only client libaries Tomas Krasnican
2010-07-29 15:17 ` Alan McKinnon
2010-07-29 16:19 ` Tomas Krasnican
2010-07-29 18:36 ` Peter Humphrey
2010-07-29 17:54 ` Neil Bothwick
2010-07-29 19:47 ` Peter Humphrey
2010-07-29 20:37 ` Tomas Krasnican
2010-07-31 8:58 ` Stroller
2010-07-31 22:01 ` kashani [this message]
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=4C549D34.2070101@badapple.net \
--to=kashani-list@badapple.net \
--cc=gentoo-user@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