Skip to content
Snippets Groups Projects
Commit 2d326113 authored by Bob Mottram's avatar Bob Mottram
Browse files

List config files on failure

parent 1b99f305
No related branches found
No related tags found
No related merge requests found
......@@ -672,12 +672,19 @@ function install_xmpp_main {
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
if [ ! "$?" = "0" ]; then
echo ''
echo ''
which prosody
which prosodyctl
echo ''
echo ''
cat /etc/prosody/prosody.cfg.lua
remove_xmpp
echo ''
echo ''
cat /etc/prosody/conf.avail/xmpp.cfg.lua
echo ''
echo ''
remove_xmpp
echo $'Unable to register prosody user'
exit 347682
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment