use chmod 600 with electrs.toml

This commit is contained in:
openoms
2019-09-18 08:25:31 +01:00
parent b313aebd9b
commit 3736d8a330

View File

@@ -44,6 +44,8 @@ sudo ufw allow 50001
mkdir /home/admin/.electrs/ mkdir /home/admin/.electrs/
sudo rm /home/admin/.electrs/config.toml sudo rm /home/admin/.electrs/config.toml
touch /home/admin/.electrs/config.toml touch /home/admin/.electrs/config.toml
chmod 600 /home/admin/.electrs/config.toml
echo "generating electrs.toml setting file with the RPC passwords" echo "generating electrs.toml setting file with the RPC passwords"
( (
echo " echo "