src.nth.io/

summaryrefslogtreecommitdiff
path: root/ergo
diff options
context:
space:
mode:
Diffstat (limited to 'ergo')
-rw-r--r--ergo/tasks/main.yaml3
-rw-r--r--ergo/templates/config.yaml.j22
2 files changed, 3 insertions, 2 deletions
diff --git a/ergo/tasks/main.yaml b/ergo/tasks/main.yaml
index 5998713..72f0285 100644
--- a/ergo/tasks/main.yaml
+++ b/ergo/tasks/main.yaml
@@ -43,8 +43,9 @@
dest: "/etc/ergo/config.yaml"
owner: "ergo"
group: "ergo"
- mode: "0644"
+ mode: "0640"
notify: reload ergo
+ no_log: true
- name: copy motd file
become: yes
diff --git a/ergo/templates/config.yaml.j2 b/ergo/templates/config.yaml.j2
index c2e22a8..edc0bd0 100644
--- a/ergo/templates/config.yaml.j2
+++ b/ergo/templates/config.yaml.j2
@@ -77,7 +77,7 @@ server:
# the default is 0775 or 0755, which prevents other users/groups from connecting
# to the socket. With 0777, it behaves like a normal TCP socket
# where anyone can connect.
- unix-bind-mode: 0777
+ unix-bind-mode: 0770
# configure the behavior of Tor listeners (ignored if you didn't enable any):
tor-listeners: