Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373478 Details for
Bug 505596
net-im/jabberd2 postrotate script uses wrong pidfiles
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add "reload" option to jabberd2-2.3.1.init
jabberd2-2.3.1.init.diff (text/plain), 833 bytes, created by
Dmitry A. Bakshaev
on 2014-03-25 07:28:38 UTC
(
hide
)
Description:
add "reload" option to jabberd2-2.3.1.init
Filename:
MIME Type:
Creator:
Dmitry A. Bakshaev
Created:
2014-03-25 07:28:38 UTC
Size:
833 bytes
patch
obsolete
>--- /usr/local/portage/trunk/net-im/jabberd2/files/jabberd2-2.3.1.init 2013-12-15 17:31:25.000000000 +0400 >+++ /usr/local/portage/bbgentoo_overlay/branches/drafts/net-im/jabberd2/files/jabberd2-2.3.1.init 2014-03-25 11:11:05.000000000 +0400 >@@ -3,6 +3,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-im/jabberd2/files/jabberd2-2.3.1.init,v 1.2 2013/12/15 13:10:13 hasufell Exp $ > >+extra_commands="reload" >+ > depend() { > need net > use mysql postgresql slapd >@@ -22,6 +24,21 @@ > eend $? > fi > done >+ eoutdent >+ >+} >+ >+reload() { >+ >+ eindent >+ for pidfile in /var/run/jabber/*.pid; do >+ if [ -f "${pidfile}" ]; then >+ service=$(basename ${pidfile} .pid) >+ ebegin "Reloading ${service}" >+ kill -HUP $(cat ${pidfile}) >+ eend $? >+ fi >+ done > eoutdent > > }
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 505596
: 373478 |
373480