From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 31E836DE023A for ; Mon, 2 Dec 2019 05:29:29 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=pass (2048-bit key; unprotected) header.d=orangeseeds.org header.i=@orangeseeds.org header.b="LDWrBwPr"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.154 X-Spam-Level: X-Spam-Status: No, score=-0.154 tagged_above=-999 required=5 tests=[AWL=0.047, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CMnx1j2xAZsI for ; Mon, 2 Dec 2019 05:29:28 -0800 (PST) Received: from marcos.anarc.at (marcos.anarc.at [206.248.172.91]) by arlo.cworth.org (Postfix) with ESMTPS id C54416DE0230 for ; Mon, 2 Dec 2019 05:29:26 -0800 (PST) Received: by marcos.anarc.at (Postfix, from userid 1000) id 60D1A10E08A; Mon, 2 Dec 2019 08:29:24 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orangeseeds.org; s=marcos; t=1575293364; bh=8FZGeR7AWaI/Qvm7pgkL3yv1RMtZ/uBubwpQNLpv2aY=; h=From:To:Subject:In-Reply-To:References:Date:From; b=LDWrBwPrXsZpheelY67cEMawYbew5Y3v/MlJImv2muzpaQ4y5SvaLaSz9YN/UWq1r AgWK3w8JXadc8dndc1azLqrve2HpLr16K1tKMFk1MYibvg6Ig+Y7IwS1NhZH+919iq zc0zDt1iHsSTQOCofoc2omMsmmPhx8U4Em0S2i005NGKmz79gsyxZu7MnXfU9B/TID cPQUvA1v91vmzMhUFcEnRXRUSKVGuXzNAYPxqMIVFjc9tmVoCq2u4aV5LP+kiUq3T/ cOggNrvA6l1y9/QD7DHT9vZm4GHWFlW7uyHtGrZDxRlgWj9PzrrGlZUqxX4XjLyJG1 GB0pLadOB9d9g== Received: (nullmailer pid 14020 invoked by uid 1000); Mon, 02 Dec 2019 13:29:24 -0000 From: =?utf-8?Q?Antoine_Beaupr=C3=A9?= To: notmuch@notmuchmail.org Subject: Re: compacting the notmuch database through systemd In-Reply-To: <87v9qz93b0.fsf@curie.anarc.at> References: <87v9qz93b0.fsf@curie.anarc.at> Date: Mon, 02 Dec 2019 08:29:23 -0500 Message-ID: <87pnh6zwi4.fsf@angela.anarc.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2019 13:29:29 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2019-12-01 15:52:19, Antoine Beaupr=C3=A9 wrote: > PS: any humor or comedy in this email is purely accidental and shouldn't > be construed as a feeble attempt at making you smile. The joke is on me, I guess. I thought I had written some hooks to ever prevent this from happening again, but it looks like either (a) they didn't work in this case or (b) they are disabled because I forgot the attachments... A. --=20 There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. - C.A.R. Hoare --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=notmuch-compact.timer [Unit] Description=compact the notmuch database [Timer] OnCalendar=monthly [Install] WantedBy=timers.target --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=notmuch-compact.service [Unit] Description=compact the notmuch database [Service] Type=simple Nice=10 ExecStart=/usr/bin/notmuch compact --=-=-=--