mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02: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
@ -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…
x
Reference in New Issue
Block a user