blob: 3b8179174e80131b0c761de6d30538abcf7e1d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/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 $?
}
|