mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 19:30:11 +00:00
Update admin macaroon permissions to 640
This commit is contained in:
parent
86235342d4
commit
c8e5f3a6c6
|
@ -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
|
||||
|
|
5
rootfs/standard/usr/bin/service_scripts/post_lnd.sh
Executable file
5
rootfs/standard/usr/bin/service_scripts/post_lnd.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
chmod 640 /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/admin.macaroon
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user