Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 220913 Details for
Bug 306593
net-im/ejabberd-2.0.5-r3: init script always reports status as crashed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to initd, fixing the problem.
ejabberd-2.initd.diff (text/plain), 751 bytes, created by
Livid
on 2010-02-24 02:58:49 UTC
(
hide
)
Description:
Patch to initd, fixing the problem.
Filename:
MIME Type:
Creator:
Livid
Created:
2010-02-24 02:58:49 UTC
Size:
751 bytes
patch
obsolete
>--- /usr/local/portage/net-im/ejabberd/files/ejabberd-2.initd 2010-02-18 03:47:00.000000000 +0300 >+++ /etc/init.d/ejabberd 2010-02-24 05:51:13.000000000 +0300 >@@ -36,14 +36,25 @@ > cd /var/lib/ejabberd > start-stop-daemon --start --quiet --chuid jabber:jabber \ > --name $BEAMNAME \ >- --exec /usr/sbin/ejabberd -- -detached -noinput -smp $SMPOPT >+ --background \ >+ --pidfile "${PIDFILE}" \ >+ --make-pidfile \ >+ --exec /usr/sbin/ejabberd -- -noinput -smp $SMPOPT > eend $? > } > > stop() { > ebegin "Stopping ejabberd" > /usr/sbin/ejabberdctl stop >- eend $? >+ local RETVAL=$? >+ if [ ${RETVAL} != 0 ]; then >+ eend ${RETVAL} >+ else >+ while [ $? != 1 ]; do >+ kill -0 `cat "${PIDFILE}"` 2> /dev/null >+ done >+ eend ${RETVAL} >+ fi > } > > reload() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 306593
:
220909
| 220913 |
220915