浏览代码

[Prosody] Deprecated mod_privacy in favor of blocklist

Configuration file needs to belong to prosody user
Óscar Nájera 6 年前
父节点
当前提交
f4402f9916
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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

正在加载...
取消
保存