diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 534a293a..447785f7 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -660,7 +660,6 @@ function install_xmpp_main { cp /etc/ssl/certs/xmpp.* /etc/prosody/certs cp /etc/ssl/private/xmpp.* /etc/prosody/certs - chown -R prosody /etc/prosody update_default_domain xmpp_create_config @@ -668,6 +667,11 @@ function install_xmpp_main { # TODO comment this out after debian supports prosody 0.10 or later install_xmpp_nightly + chown -R prosody /etc/prosody + chown -R prosody /var/lib/prosody + chown -R prosody /usr/lib/prosody + chmod -R 700 /etc/prosody/conf.d + systemctl restart prosody prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"