summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2015-09-07 20:19:08 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2015-09-07 20:19:25 +0000
commit514f72a3500d571c4333ebf7424d6e0c68603b25 (patch)
tree978630082020a11a173eaade8fc8dcd7646fa320 /net-irc/anope/files/anope-init.d
parentmedia-plugins/mythplugins: fix dependencies (diff)
downloadgentoo-514f72a3500d571c4333ebf7424d6e0c68603b25.tar.gz
gentoo-514f72a3500d571c4333ebf7424d6e0c68603b25.tar.bz2
gentoo-514f72a3500d571c4333ebf7424d6e0c68603b25.zip
net-irc/anope: make init script use ircd
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-irc/anope/files/anope-init.d')
-rw-r--r--net-irc/anope/files/anope-init.d4
1 files changed, 4 insertions, 0 deletions
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)"
}