hopefully last permaissions changes Fuck

This commit is contained in:
Enki 2024-01-09 13:52:45 -08:00
parent a611be9e6f
commit 6bb3df8d2f
1 changed files with 10 additions and 6 deletions

View File

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