Update admin macaroon permissions to 640

This commit is contained in:
Taylor Helsper 2022-04-26 21:32:24 -05:00
parent 86235342d4
commit c8e5f3a6c6
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,7 @@ ExecStartPre=/usr/bin/service_scripts/pre_lnd.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStartPre=+/usr/bin/mynode_gen_lnd_config.sh
ExecStart=/usr/local/bin/lnd
ExecStartPost=/usr/bin/service_scripts/post_lnd.sh
User=bitcoin
Group=bitcoin

View File

@ -0,0 +1,5 @@
#!/bin/bash
chmod 640 /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/admin.macaroon
exit 0