Skip to content
Snippets Groups Projects
Commit e6215a9e authored by Bob Mottram's avatar Bob Mottram
Browse files

prosody cert permissions

parent 6d4819ff
No related branches found
No related tags found
No related merge requests found
......@@ -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
fi
chown -R prosody:prosody /etc/prosody
chmod -R 700 /etc/prosody/certs/*
systemctl restart prosody
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment