Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242531 Details for
Bug 332391
net-misc/rabbitmq-server-1.8.1: Enhanced ebuild and init script (and version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't start rabbitmq directly; use su to drop root privileges
rabbitmq-server-init.patch (text/plain), 802 bytes, created by
Stefan Schlott
on 2010-08-12 06:50:32 UTC
(
hide
)
Description:
Don't start rabbitmq directly; use su to drop root privileges
Filename:
MIME Type:
Creator:
Stefan Schlott
Created:
2010-08-12 06:50:32 UTC
Size:
802 bytes
patch
obsolete
>--- /usr/portage/net-misc/rabbitmq-server/files/rabbitmq-server.init 2010-08-03 02:16:19.000000000 +0200 >+++ files/rabbitmq-server.init 2010-08-11 17:09:57.024829108 +0200 >@@ -1,7 +1,6 @@ > #!/sbin/runscript > # Copyright 1999-2009 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/files/rabbitmq-server.init,v 1.2 2010/08/02 23:56:58 hollow Exp $ > > depend() { > need net >@@ -11,13 +10,13 @@ > start() { > export HOME=/var/empty > ebegin "Starting RabbitMQ..." >- rabbitmq-server -detached >+ su - -s /bin/sh -c '/usr/sbin/rabbitmq-server -detached' rabbitmq > eend $? > } > > stop() { > ebegin "Stopping RabbitMQ..." >- rabbitmqctl stop >+ su - -s /bin/sh -c '/usr/sbin/rabbitmqctl stop' rabbitmq > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 332391
:
242529
|
242531
|
242721
|
242723