Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 358960 Details for
Bug 314473
net-im/jabberd2-2.2.17 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Init script for 2.2.17 version bump
jabberd2-2.2.17.init (text/plain), 1.54 KB, created by
Josh Perry
on 2013-09-18 21:41:05 UTC
(
hide
)
Description:
Init script for 2.2.17 version bump
Filename:
MIME Type:
Creator:
Josh Perry
Created:
2013-09-18 21:41:05 UTC
Size:
1.54 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net > use mysql postgresql slapd > provide jabber-server >} > >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_pre() { > checkpath -d -o jabber /var/run/jabber >} > >start() { > > einfo "Starting Jabber Server ..." > local services > services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}') > eindent > for service in ${services}; do > > cfgfile=$(echo ${service} | cut -d ':' -f 2) > service=$(echo ${service} | cut -d ':' -f 1) > 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 \ > --user jabber:jabber \ > --exec /usr/bin/${service} \ > --pid /var/run/jabber/$(basename ${cfgfile%.xml}).pid \ > -- -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 314473
:
227217
|
260835
|
267507
|
267509
|
267511
|
269483
|
279767
|
279777
|
280283
|
286421
|
288599
|
289339
|
289341
|
311831
|
311833
|
312185
|
322412
|
322507
|
330825
|
331398
|
331400
|
332788
|
332790
|
332792
|
350230
|
350366
|
350368
|
358958
| 358960