Bob Mottram 8 anni fa
parent
commit
79bfa16557
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/freedombone-app-xmpp

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

@@ -360,6 +360,9 @@ function xmpp_create_config {
360 360
     echo '' >> /etc/prosody/prosody.cfg.lua
361 361
     echo 'authentication = "internal_hashed"' >> /etc/prosody/prosody.cfg.lua
362 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 366
     echo 'log = {' >> /etc/prosody/prosody.cfg.lua
364 367
     echo '    info = "/dev/null";' >> /etc/prosody/prosody.cfg.lua
365 368
     echo '    error = "/dev/null";' >> /etc/prosody/prosody.cfg.lua