0002-fix-ejabberdctl.patch 771 B

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