git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
8c4e5b8
Branches
Tags
master
keks-overlay.git
net-im
jabberd
files
jabber.rc6-r8
A keks * initial commit
Lars Strojny
commited
8c4e5b8
at 2006-12-17 11:28:02
jabber.rc6-r8
Blame
History
Raw
#!/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.rc6-r8,v 1.1 2005/05/21 18:35:51 humpback Exp $ depend() { need net provide jabber-server } start() { ebegin "Starting Jabber Server" if [ -f ${JPIDFILE} ]; then if [ -z $(ps ax | grep `cat ${JPIDFILE}` | grep -v grep ) ] then rm -f ${JPIDFILE} fi fi start-stop-daemon --start -c jabber:jabber \ -x /usr/sbin/jabberd -- -B -c /etc/jabber/multiple.xml eend $? } stop() { ebegin "Stopping Jabber Server" start-stop-daemon --stop -x /usr/sbin/jabberd kill `cat ${JPIDFILE}` sleep 2 if [ -f ${JPIDFILE} ]; then kill -9 `cat ${JPIDFILE}` rm -f ${JPIDFILE} fi eend $? }