diff options
author | Michael Mason <ms13sp@gmail.com> | 2009-03-25 21:23:00 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2009-03-25 21:23:00 +0000 |
commit | 0d48a9c85ddf7aee34b250f56ee0c213b9f9c843 (patch) | |
tree | ec20e8731039da2ad9ab1d426c8130065b9a532f /unstable/jabberd14/jabberd14.initd | |
parent | b15d5bb40ca2f16c94964fbc68f580cc8d53b8bf (diff) | |
download | aports-0d48a9c85ddf7aee34b250f56ee0c213b9f9c843.tar.bz2 aports-0d48a9c85ddf7aee34b250f56ee0c213b9f9c843.tar.xz |
testing/jabberd14 moved to unstable/jabberd14
Diffstat (limited to 'unstable/jabberd14/jabberd14.initd')
-rw-r--r-- | unstable/jabberd14/jabberd14.initd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/unstable/jabberd14/jabberd14.initd b/unstable/jabberd14/jabberd14.initd new file mode 100644 index 0000000000..3b8179174e --- /dev/null +++ b/unstable/jabberd14/jabberd14.initd @@ -0,0 +1,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 $? + +} |