Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98505 Details for
Bug 149366
net-im/ejabberd-1.1.2 (Version Bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/ejabberd-1.1.2.initd
ejabberd-1.1.2.initd (text/plain), 1.27 KB, created by
Conrad Kostecki
on 2006-10-01 03:25:37 UTC
(
hide
)
Description:
files/ejabberd-1.1.2.initd
Filename:
MIME Type:
Creator:
Conrad Kostecki
Created:
2006-10-01 03:25:37 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 149366
:
98270
|
98504
| 98505