Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120071 Details for
Bug 178055
net-im/jabberd-2.1.14 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Slightly modified init-script for jabberd-2.1.6
jabberd-2.1.6.init (text/plain), 1.49 KB, created by
Marko Durkovic
on 2007-05-23 09:30:09 UTC
(
hide
)
Description:
Slightly modified init-script for jabberd-2.1.6
Filename:
MIME Type:
Creator:
Marko Durkovic
Created:
2007-05-23 09:30:09 UTC
Size:
1.49 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/jabberd/files/jabberd-2.0.11.init,v 1.3 2007/01/09 10:38:59 nelchael Exp $ > >depend() { > need net > use mysql postgresql slapd > provide jabber-server >} > >function stopJabberServices() { > > eindent > for pidfile in /var/run/jabber/*.pid; do > if [[ -f "${pidfile}" ]]; then > service=$(basename ${pidfile/.pid/}) > ebegin "Stopping ${service}" > start-stop-daemon \ > --stop \ > --pidfile ${pidfile} > eend $? > fi > done > eoutdent > >} > >start() { > > einfo "Starting Jabber Server ..." > local services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}') > eindent > for service in ${services}; do > > cfgfile=${service/*:/} > service=${service/:*/} > if [[ ! -f "${cfgfile}" ]]; then > if [[ -f "/etc/jabber/${service}.xml" ]]; then > cfgfile="/etc/jabber/${service}.xml" > else > eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml" > stopJabberServices > return 1 > fi > fi > > executable=/usr/bin/${service} > > if [[ ! -f "${executable}" ]]; then > eerror "Can't find executable: ${executable}" > stopJabberServices > return 1 > fi > > ebegin "Starting ${service} (${cfgfile})" > start-stop-daemon \ > --background \ > --start \ > --chuid jabber:jabber \ > --exec /usr/bin/${service} \ > -- -c ${cfgfile} > eend $? > > done > eoutdent > >} > >stop() { > > einfo "Stopping Jabber Server" > stopJabberServices > >}
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 178055
:
120070
|
120071
|
122165
|
122166
|
122168
|
125548
|
131511
|
131513
|
131578