1From 4283f675f21d3923e200092cec6418014a03ad52 Mon Sep 17 00:00:00 2001 2From: Johan Oudinet <johan.oudinet@gmail.com> 3Date: Thu, 26 Dec 2019 17:06:34 +0100 4Subject: [PATCH] fix ejabberdctl 5 6Change default values so ejabberdctl run commands as ejabberd user. 7 8Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> 9--- 10 ejabberdctl.template | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/ejabberdctl.template b/ejabberdctl.template 14index a940c3df7..5166e5a27 100755 15--- a/ejabberdctl.template 16+++ b/ejabberdctl.template 17@@ -15,7 +15,7 @@ SCRIPT_DIR=$(cd "${0%/*}" && pwd) 18 ERL="{{erl}}" 19 IEX="{{bindir}}/iex" 20 EPMD="{{epmd}}" 21-INSTALLUSER="{{installuser}}" 22+INSTALLUSER=ejabberd 23 24 # check the proper system user is used 25 case $(id -un) in 26-- 272.20.1 28 29