summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2008-06-18 12:24:56 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2008-06-18 12:24:56 +0000
commitc39d6e6991d9b582989f5e10a5f118848cf09d0b (patch)
tree06d0e1af2312934fc7a9a0c0c7ba96627333da79 /net-im/jabberd
parentStable on amd64; #227525 (diff)
downloadgentoo-2-c39d6e6991d9b582989f5e10a5f118848cf09d0b.tar.gz
gentoo-2-c39d6e6991d9b582989f5e10a5f118848cf09d0b.tar.bz2
gentoo-2-c39d6e6991d9b582989f5e10a5f118848cf09d0b.zip
Add missing init.d script.
(Portage version: 2.1.5.6)
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/ChangeLog6
-rw-r--r--net-im/jabberd/files/jabberd-1.6.1.1.init29
2 files changed, 34 insertions, 1 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog
index eb6fff1ada3c..576e7a23713c 100644
--- a/net-im/jabberd/ChangeLog
+++ b/net-im/jabberd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/jabberd
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.104 2008/06/09 20:22:03 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.105 2008/06/18 12:24:55 nelchael Exp $
+
+ 18 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/jabberd-1.6.1.1.init:
+ Add missing init.d script.
*jabberd-1.6.1.1 (09 Jun 2008)
diff --git a/net-im/jabberd/files/jabberd-1.6.1.1.init b/net-im/jabberd/files/jabberd-1.6.1.1.init
new file mode 100644
index 000000000000..0b2dd6bb08b3
--- /dev/null
+++ b/net-im/jabberd/files/jabberd-1.6.1.1.init
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabberd-1.6.1.1.init,v 1.1 2008/06/18 12:24:56 nelchael Exp $
+
+depend() {
+
+ need net
+ provide jabber-server
+
+}
+
+start() {
+
+ ebegin "Starting Jabber Server"
+ start-stop-daemon --start \
+ -c jabber:jabber \
+ -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml
+ eend $?
+
+}
+
+stop() {
+
+ ebegin "Stopping Jabber Server"
+ start-stop-daemon --stop -x /usr/bin/jabberd
+ eend $?
+
+}