[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Autoupdateing



On 12/02/2015 12:49 PM, flipchan@xxxxxxxxxx wrote:
> so if i create an update.sh script with apt-get update && apt-get
> upgrade -y in it and add it to run like this
> crontab -l
> # m h  dom mon dow   command
> * 12 * * * ./update.sh

The proper way to do this is the "unattended-upgrades" package that was
mentioned earlier.

apt-get install unattended-upgrades
dpkg-reconfigure unattended-upgrades

Plus read through
 /etc/apt/apt.conf.d/20auto-upgrades
and
 /etc/apt/apt.conf.d/50unattended-upgrades

Adjust. Done. :)

-- 
Moritz Bartl
https://www.torservers.net/
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk