Encrypted Raspberry Pi Wallet - Part 2a: Unattended Upgrades

In this post I will show you how you can make your raspberry pi wallet auto upgrading. As we want to run it for a long time it's reasonable to auto upgrade. Warning: Always ensure to get notified when you add auto upgrade. The environment can always change.

Luckily Debian provides a cool package that does everything for us: unattended-upgrades. Just follow everything there.

After that install bsd-mailx: $ apt-get install bsd-mailx and edit $ nano /etc/ssmtp/ssmtp.conf

You can add a gmail addres:

set smtp-use-starttls set ssl-verify=ignore set smtp=smtp://smtp.gmail.com:587 set smtp-auth=login set smtp-auth-user=emailaddr@gmail.com set smtp-auth-password=secret set from="emailaddr@gmail.com

Everything together can be tested with:

$ unattended-upgrade -v -d --dry-run

Now we can sleep well :)

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now