Blame SOURCES/rabbitmq-server-0005-Partially-revert-Use-template-in-rabbitmq-script-wra.patch

2a3055
From: Peter Lemenkov <lemenkov@gmail.com>
2a3055
Date: Tue, 7 Jan 2020 00:19:51 +0300
c6faf9
Subject: [PATCH] Partially revert "Use template in rabbitmq-script-wrapper for
c6faf9
 RabbitMQ user and group"
2a3055
2a3055
This reverts commit ad99cb2524ebc5750a13c3c12203390926f7b5cb.
2a3055
2a3055
diff --git a/scripts/rabbitmq-script-wrapper b/scripts/rabbitmq-script-wrapper
889a63
index da8fe252e7..cbe65ad33c 100644
2a3055
--- a/scripts/rabbitmq-script-wrapper
2a3055
+++ b/scripts/rabbitmq-script-wrapper
889a63
@@ -37,7 +37,7 @@ maybe_fixup_erlang_cookie() {
2a3055
     _erlang_cookie="$_rabbitmq_home/.erlang.cookie"
2a3055
     if [ -f "$_erlang_cookie" ]
2a3055
     then
2a3055
-        chown @RABBITMQ_USER@:@RABBITMQ_GROUP@ "$_erlang_cookie"
2a3055
+        chown rabbitmq:rabbitmq "$_erlang_cookie"
2a3055
         chmod 400 "$_erlang_cookie"
2a3055
     fi
2a3055
 }