Not 100% if this is the right section but lets see.
I am running the latest BTC daemon on a Raspberry Pi 3 with Stretch Lite and i followed this guide:
https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_30_bitcoin.mdBasically, everything works except for one strange thing:
If i reboot the system, bitcoind starts up on boot, runs and is "doing" something but if i want to use bitcoin-cli i get:
bitcoin@pinode:/home/admin $ bitcoin-cli getblockchaininfo
error: couldn't connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)
If i kill the btc daemon and wait till it gets upstarted by systemd again, everything is fine and working. i am sure the service config is good. Otherwise it shouldnt work with my hard kill.
I changed my conf to:
After=network-online.target
Wants=network-online.target
Cause i assumed the network stack is not ready but still the same. I have no clue why its not working from boot, well lets say why its only working half.
Any suggestions?