Permissions
This commit is contained in:
parent
2d326113d9
commit
2325ec410b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue