[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tor-talk] Autoupdateing



On 12/02/2015 12:49 PM, flipchan@riseup.net 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@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk