mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
fix: make clrest certs groudp readable, add rtl to bitcoin group
follow up of #4328
This commit is contained in:
parent
5f33c94f09
commit
0a215c2476
2 changed files with 3 additions and 1 deletions
|
@ -139,6 +139,8 @@ if [ "$1" = "install" ]; then
|
|||
sudo adduser --system --group --home /home/rtl rtl || exit 1
|
||||
fi
|
||||
|
||||
sudo usermod -a -G bitcoin rtl
|
||||
|
||||
# download source code and set to tag release
|
||||
echo "# Get the RTL Source Code"
|
||||
sudo -u rtl rm -rf /home/rtl/RTL 2>/dev/null
|
||||
|
|
|
@ -45,7 +45,7 @@ function symlinkToAppData() {
|
|||
fi
|
||||
sudo ln -s /mnt/hdd/app-data/c-lightning-REST/${CLNETWORK}/certs \
|
||||
/home/bitcoin/c-lightning-REST/${CLNETWORK}/
|
||||
sudo chmod -R 700 /mnt/hdd/app-data/c-lightning-REST
|
||||
sudo chmod -R 750 /mnt/hdd/app-data/c-lightning-REST
|
||||
sudo chown -R bitcoin:bitcoin /mnt/hdd/app-data/c-lightning-REST
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue