Browse Source

prosody database

Bob Mottram 8 years ago
parent
commit
79bfa16557
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-xmpp

+ 3
- 0
src/freedombone-app-xmpp View File

360
     echo '' >> /etc/prosody/prosody.cfg.lua
360
     echo '' >> /etc/prosody/prosody.cfg.lua
361
     echo 'authentication = "internal_hashed"' >> /etc/prosody/prosody.cfg.lua
361
     echo 'authentication = "internal_hashed"' >> /etc/prosody/prosody.cfg.lua
362
     echo '' >> /etc/prosody/prosody.cfg.lua
362
     echo '' >> /etc/prosody/prosody.cfg.lua
363
+    echo 'storage = "sql"' >> /etc/prosody/prosody.cfg.lua
364
+    echo 'sql = { driver = "SQLite3", database = "prosody.sqlite" }' >> /etc/prosody/prosody.cfg.lua
365
+    echo '' >> /etc/prosody/prosody.cfg.lua
363
     echo 'log = {' >> /etc/prosody/prosody.cfg.lua
366
     echo 'log = {' >> /etc/prosody/prosody.cfg.lua
364
     echo '    info = "/dev/null";' >> /etc/prosody/prosody.cfg.lua
367
     echo '    info = "/dev/null";' >> /etc/prosody/prosody.cfg.lua
365
     echo '    error = "/dev/null";' >> /etc/prosody/prosody.cfg.lua
368
     echo '    error = "/dev/null";' >> /etc/prosody/prosody.cfg.lua