hopefully last permaissions changes Fuck

This commit is contained in:
Enki 2024-01-09 13:52:45 -08:00
parent a611be9e6f
commit 6bb3df8d2f

View File

@ -176,7 +176,6 @@ install_i2p() {
sleep 3 sleep 3
} }
# Bitocin Stuff # Bitocin Stuff
# Checks if Bitcoin Core is installed # Checks if Bitcoin Core is installed
@ -548,11 +547,16 @@ EOF
} }
# Starts and enables Bitcoin Core # Starts and enables Bitcoin Core
start_and_enable_bitcoin_core() { start_and_enable_bitcoin_core() {
systemctl enable bitcoind echo "Final permissions check..."
systemctl start bitcoind sudo chown -R bitcoin:bitcoin /home/bitcoin
echo "Core has been started and added to systemd." sudo chmod -R u+rw,g+rw,o-rwx /home/bitcoin
echo "systemd helps core start after the computer boots." sudo chmod u+x /usr/local/bin/bitcoind
sudo chmod u+x /usr/local/bin/bitcoin-cli
sudo systemctl enable bitcoind
sudo systemctl start bitcoind
echo "Bitcoin Core has been started and added to systemd."
echo "Now Bitcoin Core will start on boot."
sleep 3 sleep 3
} }