prosody cert permissions
This commit is contained in:
parent
6d4819ff47
commit
e6215a9e2d
|
@ -673,6 +673,7 @@ function update_default_domain {
|
||||||
sed -i "s|/etc/prosody/certs/xmpp.crt|/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem|g" /etc/prosody/prosody.cfg.lua
|
sed -i "s|/etc/prosody/certs/xmpp.crt|/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem|g" /etc/prosody/prosody.cfg.lua
|
||||||
fi
|
fi
|
||||||
chown -R prosody:prosody /etc/prosody
|
chown -R prosody:prosody /etc/prosody
|
||||||
|
chmod -R 700 /etc/prosody/certs/*
|
||||||
systemctl restart prosody
|
systemctl restart prosody
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue