using ejabberctl as root (I didn't know I have to use ejabberd user) is dangerous since it ran ejabberd as root which is
1. not needed / more insecure
2. breaks the installation since afterwards
the ejabberd user has no access anymore to
relevant files
Therefore I'm building with enable-user now but since the Makefile installation will try to chown the files which is taken care of from RPM in our case I had to add the small patch to avoid that but still install the ejabberctl script modification
OBS-URL: https://build.opensuse.org/request/show/177163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/ejabberd?expand=0&rev=68