Encrypted Raspberry Pi Wallet - Part 2a: Unattended Upgrades

in #blockchain6 years ago (edited)

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 [email protected] set smtp-auth-password=secret set from="[email protected]

Everything together can be tested with:

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

Now we can sleep well :)

Sort:  

Thank you @contentvoter for making a transfer to me for an upvote of 0.79% on this post! Half of your bid goes to @budgets which funds growth projects for Steem like our top 25 posts on Steem! The other half helps holders of Steem power earn about 60% APR on a delegation to me! For help, will you please visit https://jerrybanfield.com/contact/ because I check my discord server daily? To learn more about Steem, will you please use http://steem.guide/ because this URL forwards to my most recently updated complete Steem tutorial?

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly – Featured Posts are voted every 2.4hrs
Join the Curation Team Here

You got a 0.62% upvote from @allaz courtesy of @tallfishinthesea!

Coin Marketplace

STEEM 0.28
TRX 0.13
JST 0.032
BTC 60918.56
ETH 2919.11
USDT 1.00
SBD 3.56