Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95382 Details for
Bug 145373
net-im/ejabberd-1.1.1 starts but init.d script returns failure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/ejabberd-1.1.1.initd
ejabberd (text/plain), 1.27 KB, created by
Chris Carlin
on 2006-08-29 09:45:25 UTC
(
hide
)
Description:
files/ejabberd-1.1.1.initd
Filename:
MIME Type:
Creator:
Chris Carlin
Created:
2006-08-29 09:45:25 UTC
Size:
1.27 KB
patch
obsolete
>#!/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/ejabberd/files/ejabberd-1.1.1.initd,v 1.1 2006/06/19 14:07:20 chainsaw Exp $ > >opts="${opts} reload" > >depend() { > use dns > need net > provide jabber-server >} > >checkconfig() { > if [ ! -e /etc/jabber/ejabberd.cfg ] ; then > eerror "You need an /etc/jabber/ejabberd.cfg file to run ejabberd" > return 1 > fi >} > >start() { > checkconfig || return 1 > ebegin "Starting eJabberd" > su jabber -c "HOME=/var/run/jabber /usr/bin/ejabberd -noshell -detached" > eend $? >} > >stop() { > ebegin "Stopping eJabberd" > if [ -z "$EJABBERD_NODE" ]; > then > EJABBERD_NODE="ejabberd@`hostname -s`" > fi > /usr/bin/ejabberdctl $EJABBERD_NODE stop > eend $? >} > ># Work around a bug in /sbin/runscript.sh - it won't run our custom ># restart() unless it finds these two strings in the file. ># svc_start svc_stop >restart() { > ebegin "Restarting eJabberd" > if [ -z "$EJABBERD_NODE" ]; > then > EJABBERD_NODE="ejabberd@`hostname -s`" > fi > /usr/bin/ejabberdctl $EJABBERD_NODE restart > eend $? >} > >reload() { > ebegin "Reloading eJabberd" > if [ -z "$EJABBERD_NODE" ]; > then > EJABBERD_NODE="ejabberd@`hostname -s`" > fi > /usr/bin/ejabberdctl $EJABBERD_NODE reopen-log > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 145373
: 95382 |
95383
|
98875