Delivery-Date: Wed, 02 Dec 2015 10:55:41 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 359811E0166;
	Wed,  2 Dec 2015 10:55:40 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id EEBD931BAB;
	Wed,  2 Dec 2015 15:55:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id E424B2432C
 for <tor-talk@lists.torproject.org>; Wed,  2 Dec 2015 15:55:31 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 4H8A1EneqRGW for <tor-talk@lists.torproject.org>;
 Wed,  2 Dec 2015 15:55:31 +0000 (UTC)
Received: from mail.headstrong.de (mail.headstrong.de
 [IPv6:2a02:180:a:25:2::1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id B6269242E9
 for <tor-talk@lists.torproject.org>; Wed,  2 Dec 2015 15:55:31 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1])
 by mail.headstrong.de (Postfix) with ESMTP id A00761C00117
 for <tor-talk@lists.torproject.org>; Wed,  2 Dec 2015 16:55:28 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=headstrong.de;
 h=content-transfer-encoding:content-type:content-type
 :in-reply-to:mime-version:date:date:message-id:from:from
 :references:subject:subject:received; s=mail; t=1449071728; x=
 1450886129; bh=Wy0HL7LBEsq6nTgpteMQuZojPaaKzsQoswB1KLWtyug=; b=P
 M+ThpC+BecjwavBIrffmq3yIrlm0/o/owM1gizuR4wSSRAaawBfEABLZLRbCaREE
 4FtD734FIr5VWtZZb/yP75vNaz7KHQuGf1VVKL7Q0kZVxgzGUcfv87KKucfTrFX9
 +7WSEDd1nB+2SIck4d83NL29AAC/JTHL3/4nRKFHlM=
X-Virus-Scanned: Debian amavisd-new at mail.headstrong.de
Received: from mail.headstrong.de ([127.0.0.1])
 by localhost (mail.headstrong.de [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id 7LYW93Bb0mJ7 for <tor-talk@lists.torproject.org>;
 Wed,  2 Dec 2015 16:55:28 +0100 (CET)
To: tor-talk@lists.torproject.org
References: <90E5DC5F-BDE7-422C-81F8-1C0C8E32C582@riseup.net>
 <20151130211028.GA26068@thinkpad.swarthmore.edu>
 <4B3933ED-F8A7-4AA8-9C60-4B1130B54AD2@riseup.net>
 <8082974593b3bbe53764fb0444460d41@riseup.net>
From: Moritz Bartl <moritz@torservers.net>
Message-ID: <565F146F.6000406@torservers.net>
Date: Wed, 2 Dec 2015 16:55:27 +0100
MIME-Version: 1.0
In-Reply-To: <8082974593b3bbe53764fb0444460d41@riseup.net>
Subject: Re: [tor-talk] Autoupdateing
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

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

