src.nth.io/

summaryrefslogtreecommitdiff
path: root/bitcoind
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-05 20:19:40 -0500
committerLuke Hoersten <[email protected]>2026-04-05 21:24:11 -0500
commitf2f3906b8e9f1af99de9cf6488d54732a711dfc6 (patch)
tree414cb39be7b20b6df56456ef9652b47fde1734fc /bitcoind
parentcaf13f1cbef5faf089a27f23b25202660780829c (diff)
Harden bitcoind and lnd: file permissions, service binding, no_logHEADmain
- Config files 0644 -> 0600 - Add no_log: true to config tasks - Bind lnd rpclisten and restlisten to 127.0.0.1
Diffstat (limited to 'bitcoind')
-rw-r--r--bitcoind/tasks/main.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitcoind/tasks/main.yaml b/bitcoind/tasks/main.yaml
index 624e2b9..a11dbbf 100644
--- a/bitcoind/tasks/main.yaml
+++ b/bitcoind/tasks/main.yaml
@@ -49,8 +49,9 @@
dest: "{{bitcoind_conf_dir}}/bitcoin.conf"
owner: "{{bitcoind_user}}"
group: "{{bitcoind_user}}"
- mode: "0644"
+ mode: "0600"
notify: restart bitcoind
+ no_log: true
- name: install bitcoind service
become: yes