Hi everyone.
I am on metered connection and would like limit the bandwidth to the minimum.
One option is to disable “Make Public” but this is needed by electrs.
I know that bitcoin.conf supports for example those 2 options:
maxuploadtarget=1 (only 1mb upload for a day)
maxconnections=10
but how can I set this on Start9?
I have ssh access and I can see that conf file is here:
/embassy-data/package-data/volumes/bitcoind/data/main/bitcoin.conf - but gets overwritten each time service starts.
Most changes you make to the OS itself via SSH will be undone on reboot. This is part of the immutability that makes StartOS so resilient.
There is an advanced feature not recommended if you are not really familiar with the command line and willing to accept the risks involved. There be dragons.
if you want changes to survive a reboot you’ll need to enter chroot-and-upgrade mode via ssh by:
sudo /usr/lib/embassy/scripts/chroot-and-upgrade
^At that shell, anything you install or place on the disk will be available after rebooting.
Thank you for your comments. When in chroot mode I can’t find bitcoin.conf file anywhere in file system. I suspect chroot will expose operating system, and conf file is part of a package. It’s useful to know how to apply permanent changes to the OS (thank you!), but not sure if this can do anything to bitcoin.conf?
This file will be overridden as soon as the bitcoin core service restarts. Your best bet (if you cannot modify and build the bitcoin core wrapper yourself from source) is to create a feature request here: Issues · Start9Labs/bitcoind-startos · GitHub