Permissions

This commit is contained in:
Bob Mottram 2016-12-03 22:42:40 +00:00
parent 2d326113d9
commit 2325ec410b
1 changed files with 5 additions and 1 deletions

View File

@ -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"