prosody database

This commit is contained in:
Bob Mottram 2016-12-03 18:45:39 +00:00
parent c0009d1be9
commit 79bfa16557
1 changed files with 3 additions and 0 deletions

View File

@ -360,6 +360,9 @@ function xmpp_create_config {
echo '' >> /etc/prosody/prosody.cfg.lua
echo 'authentication = "internal_hashed"' >> /etc/prosody/prosody.cfg.lua
echo '' >> /etc/prosody/prosody.cfg.lua
echo 'storage = "sql"' >> /etc/prosody/prosody.cfg.lua
echo 'sql = { driver = "SQLite3", database = "prosody.sqlite" }' >> /etc/prosody/prosody.cfg.lua
echo '' >> /etc/prosody/prosody.cfg.lua
echo 'log = {' >> /etc/prosody/prosody.cfg.lua
echo ' info = "/dev/null";' >> /etc/prosody/prosody.cfg.lua
echo ' error = "/dev/null";' >> /etc/prosody/prosody.cfg.lua