blob: 92910a7416829c6e0776c659dc43ee88c489db8f (
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
|
#!/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/jabber.init.bundled,v 1.1 2005/01/31 23:05:41 humpback Exp $
depend() {
need net
use mysql postgresql slapd
provide jabber-server
}
start() {
ebegin "Starting Jabber Server"
start-stop-daemon --start -c jabber:jabber \
-b --make-pidfile --pidfile /var/jabberd/pid/jabberd.pid \
-q -x /usr/bin/jabberd
eend $?
}
stop() {
ebegin "Stopping Jabber Server"
start-stop-daemon --stop -q --pidfile /var/jabberd/pid/jabberd.pid
eend $?
}
|