2020-01-06 17:11:14 +01:00
|
|
|
From 4283f675f21d3923e200092cec6418014a03ad52 Mon Sep 17 00:00:00 2001
|
2016-02-21 23:00:08 +01:00
|
|
|
From: Johan Oudinet <johan.oudinet@gmail.com>
|
2020-01-06 17:11:14 +01:00
|
|
|
Date: Thu, 26 Dec 2019 17:06:34 +0100
|
2016-02-21 23:00:08 +01:00
|
|
|
Subject: [PATCH] fix ejabberdctl
|
|
|
|
|
2018-01-19 17:29:31 +01:00
|
|
|
Change default values so ejabberdctl run commands as ejabberd user.
|
2016-02-21 23:00:08 +01:00
|
|
|
|
2015-07-08 11:54:15 +02:00
|
|
|
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
|
2018-01-19 17:29:31 +01:00
|
|
|
---
|
2020-01-06 17:11:14 +01:00
|
|
|
ejabberdctl.template | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2015-07-08 11:54:15 +02:00
|
|
|
|
|
|
|
diff --git a/ejabberdctl.template b/ejabberdctl.template
|
2020-01-06 17:11:14 +01:00
|
|
|
index a940c3df7..5166e5a27 100755
|
2015-07-08 11:54:15 +02:00
|
|
|
--- a/ejabberdctl.template
|
|
|
|
+++ b/ejabberdctl.template
|
2020-01-06 17:11:14 +01:00
|
|
|
@@ -15,7 +15,7 @@ SCRIPT_DIR=$(cd "${0%/*}" && pwd)
|
2018-01-19 17:29:31 +01:00
|
|
|
ERL="{{erl}}"
|
|
|
|
IEX="{{bindir}}/iex"
|
|
|
|
EPMD="{{epmd}}"
|
|
|
|
-INSTALLUSER="{{installuser}}"
|
2015-07-08 11:54:15 +02:00
|
|
|
+INSTALLUSER=ejabberd
|
2018-01-19 17:29:31 +01:00
|
|
|
|
|
|
|
# check the proper system user is used
|
|
|
|
case $(id -un) in
|
|
|
|
--
|
2020-01-06 17:11:14 +01:00
|
|
|
2.20.1
|
2018-01-19 17:29:31 +01:00
|
|
|
|