List config files on failure
This commit is contained in:
parent
1b99f30599
commit
2d326113d9
|
@ -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
|
||||
echo ''
|
||||
echo ''
|
||||
cat /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ''
|
||||
echo ''
|
||||
remove_xmpp
|
||||
echo ''
|
||||
echo ''
|
||||
echo $'Unable to register prosody user'
|
||||
exit 347682
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue