Explorar el Código

[Prosody] Deprecated mod_privacy in favor of blocklist

Configuration file needs to belong to prosody user
Óscar Nájera hace 6 años
padre
commit
f4402f9916
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      roles/xmpp/tasks/prosody.yml
  2. 1
    1
      roles/xmpp/templates/prosody.cfg.lua.j2

+ 1
- 1
roles/xmpp/tasks/prosody.yml Ver fichero

@@ -26,7 +26,7 @@
26 26
   file: state=directory path=/decrypted/prosody owner=prosody group=prosody
27 27
 
28 28
 - name: Configure Prosody
29
-  template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua group=root owner=root
29
+  template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua group=prosody owner=prosody
30 30
   notify: restart prosody
31 31
 
32 32
 - name: Create Prosody accounts

+ 1
- 1
roles/xmpp/templates/prosody.cfg.lua.j2 Ver fichero

@@ -43,7 +43,7 @@ modules_enabled = {
43 43
 		"vcard"; -- Allow users to set vCards
44 44
 
45 45
 	-- These are commented by default as they have a performance impact
46
-		"privacy"; -- Support privacy lists
46
+                "blocklist"; -- Support blocking users
47 47
 		--"compression"; -- Stream compression (requires the lua-zlib package installed)
48 48
 
49 49
 	-- Nice to have

Loading…
Cancelar
Guardar