raspiblitz / raspiblitz

Get your own Bitcoin & Lightning Node running - on a RaspberryPi with a nice LCD
MIT License
2.41k stars 516 forks source link

Prestart & PartOf All the Services #4622

Open geco91 opened 2 weeks ago

geco91 commented 2 weeks ago

When you change the Password B you can still see how many bonus apps need to be manually changed and restarted - see list here:

https://github.com/geco91/raspiblitz/blob/aa089eba1646b12885b3de0da8a59db0e9ddf578/home.admin/config.scripts/blitz.passwords.sh#L351-L352

All this services should use the prestart in systemd service and like LNbits or RTL so that when password B got change they will adapt automatically before every start.

And all the services should use PartOf= in systemd so when Password B got changed and bitcoind gets restarted all the bonus apps will also be restarted and because of prestart adapt their password setting.

Recommend for RaspiBlitz v1.11.2