commit: 514f72a3500d571c4333ebf7424d6e0c68603b25 Author: Bjarke Istrup Pedersen <gurligebis <AT> gentoo <DOT> org> AuthorDate: Mon Sep 7 20:19:08 2015 +0000 Commit: Bjarke Istrup Pedersen <gurligebis <AT> gentoo <DOT> org> CommitDate: Mon Sep 7 20:19:25 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514f72a3
net-irc/anope: make init script use ircd Package-Manager: portage-2.2.20.1 net-irc/anope/{anope-1.8.7-r1.ebuild => anope-1.8.7-r2.ebuild} | 2 +- net-irc/anope/files/anope-init.d | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net-irc/anope/anope-1.8.7-r1.ebuild b/net-irc/anope/anope-1.8.7-r2.ebuild similarity index 98% rename from net-irc/anope/anope-1.8.7-r1.ebuild rename to net-irc/anope/anope-1.8.7-r2.ebuild index 95b969e..9f0afbc 100644 --- a/net-irc/anope/anope-1.8.7-r1.ebuild +++ b/net-irc/anope/anope-1.8.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-irc/anope/files/anope-init.d b/net-irc/anope/files/anope-init.d index 6523007..f8d73c6 100644 --- a/net-irc/anope/files/anope-init.d +++ b/net-irc/anope/files/anope-init.d @@ -7,6 +7,10 @@ PIDFILE=/run/anope/services.pid extra_started_commands="reload" +depend() { + use ircd +} + start_pre() { checkpath -o ${ANOPE_USER} -d "$(dirname $PIDFILE)" }