summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2010-08-02 23:56:58 +0000
committerBenedikt Boehm <hollow@gentoo.org>2010-08-02 23:56:58 +0000
commit4c833c1c0a1ef3ee2226d29d512cfa90e16d6f92 (patch)
tree88e9624c3de3da7e05c1de6a8f31bb08da12a063 /net-misc/rabbitmq-server/files
parentinitial commit (diff)
downloadgentoo-2-4c833c1c0a1ef3ee2226d29d512cfa90e16d6f92.tar.gz
gentoo-2-4c833c1c0a1ef3ee2226d29d512cfa90e16d6f92.tar.bz2
gentoo-2-4c833c1c0a1ef3ee2226d29d512cfa90e16d6f92.zip
fix "erlexec: HOME must be set" when starting from init
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-misc/rabbitmq-server/files')
-rw-r--r--net-misc/rabbitmq-server/files/rabbitmq-server.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/rabbitmq-server/files/rabbitmq-server.init b/net-misc/rabbitmq-server/files/rabbitmq-server.init
index 109191c38756..154f7df6586d 100644
--- a/net-misc/rabbitmq-server/files/rabbitmq-server.init
+++ b/net-misc/rabbitmq-server/files/rabbitmq-server.init
@@ -1,7 +1,7 @@
#!/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.1 2009/04/19 12:42:55 caleb Exp $
+# $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
@@ -9,6 +9,7 @@ depend() {
}
start() {
+ export HOME=/var/empty
ebegin "Starting RabbitMQ..."
rabbitmq-server -detached
eend $?