Summary: | net-irc/anope - init script should wait for ircd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raymond Jennings <shentino> |
Component: | Current packages | Assignee: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | net-irc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to initscript for anope |
Description
Raymond Jennings
2013-03-01 15:24:55 UTC
What if the ircd is on another system? Maybe a conf.d variable could help here... Is it even possible for conf.d variables to affect initscript dependencies? For the time being I hand edited it. I had to edit init script too. May I suggest to use "use ircd"? It would be better than "need ircd" in case of ircd being on another system like Jeroen said. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 Easy and fest fix for this issue IMHO. (In reply to El Goretto from comment #3) > I had to edit init script too. > May I suggest to use "use ircd"? It would be better than "need ircd" in case > of ircd being on another system like Jeroen said. > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 > > Easy and fest fix for this issue IMHO. Any news on this? Created attachment 411110 [details, diff]
patch to initscript for anope
This makes the initscript wait for the ircd before starting anope.
I don't know if it will fail if the ircd isn't running, I'm not an expert in initscripts.
It is fixed in -r2, it has "use ircd" added to the depend() function. That way, if it is not installed, it will still work (if "after" is used, it will not run if the ircd is not on the same machine) |