summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-irc/anope/anope-1.8.7-r2.ebuild (renamed from net-irc/anope/anope-1.8.7-r1.ebuild)2
-rw-r--r--net-irc/anope/files/anope-init.d4
2 files changed, 5 insertions, 1 deletions
diff --git a/net-irc/anope/anope-1.8.7-r1.ebuild b/net-irc/anope/anope-1.8.7-r2.ebuild
index 95b969e5687a..9f0afbc2cc90 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 6523007e93e5..f8d73c67eadc 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)"
}