瀏覽代碼

Merge pull request #213 from thomwiggers/patch-1

Make sure that only ZNC can read its certificate
Luke Cyca 10 年之前
父節點
當前提交
4349e03dfc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      roles/ircbouncer/tasks/znc.yml

+ 1
- 1
roles/ircbouncer/tasks/znc.yml 查看文件

@@ -39,7 +39,7 @@
39 39
     /var/lib/znc/znc.pem creates=/var/lib/znc/znc.pem
40 40
 
41 41
 - name: Ensure znc user and group can read cert
42
-  file: path=/var/lib/znc/znc.pem group=znc owner=znc
42
+  file: path=/var/lib/znc/znc.pem group=znc owner=znc mode=640
43 43
 
44 44
 - name: Check for existing config file
45 45
   command: cat /var/lib/znc/configs/znc.conf

Loading…
取消
儲存