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 CE7D06DE0ABE for ; Sun, 8 Dec 2019 07:15:40 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eIhvZhXi"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.395 X-Spam-Level: X-Spam-Status: No, score=-0.395 tagged_above=-999 required=5 tests=[AWL=-0.194, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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 fANwVgo7OWtE for ; Sun, 8 Dec 2019 07:15:39 -0800 (PST) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by arlo.cworth.org (Postfix) with ESMTPS id 7B7196DE0AB2 for ; Sun, 8 Dec 2019 07:15:39 -0800 (PST) Received: by mail-io1-f43.google.com with SMTP id 2so9240971ion.0 for ; Sun, 08 Dec 2019 07:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z8hkMJDdLqOuMzAQOLNAd0IoaN+dN1GX79RjGbQZzxA=; b=eIhvZhXi5xtbHdZBfHhw6kom+ZvTOkvrz4ugF+dpO4sddmqOxv6Xgsdtm6sSNzJV09 TgiQnYLBtbkc263xncrEoxMYC9cZoLWrDk+bqO04ZupzhGdQLPzKboTfGwwvNPCtuJoa LsxULyvZVspn5i011dPYa4+t/cQ3hzJRd+rursfL2bJCP76dIRZ/63olEPi4X+xWkGin aCDv8Mw24Xg1MNjuUpPw0jl02i56Y32CFKV6PvOBEcupSONmnkx9cmLeGKe5YN2dOvLc qX94qo8/CJqkzzHG7/7BI+BthF5tLnhTR3PrXA62eHUZpCiwxBTHvCtTOatcg3aiPrK3 T7vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z8hkMJDdLqOuMzAQOLNAd0IoaN+dN1GX79RjGbQZzxA=; b=tqc5wN6tMXwGTbfWbURHFjV4DPLqICjo46AJVyA11ySt0eTGIVs6ixTjO1czZ2zDVU 3uZv1GnXNaVXoQE/RisVjJLqxqZy7NcBOl+7YjnalE5fBCgusSE4t5kkmVO4ThtRQFpE YNWqq3hgqhMP9abCKEcAnlnnW72iKhK8bBx21pSrq8QxN5L130GFom0cgfs2kYU1K27F 06zkV2pKG1ymzMNF5xJ1wnAhZsYxUaUmePzuIpELDoFnNh1m50JJ/2PegljOe7oeJKPx 9yb0E/JbZZS6O5AW7g8eFU0Y0KgXcC2rvyT+E9mPhut+SGaGgdzz5KsBbKY3z9iBTcAJ nixQ== X-Gm-Message-State: APjAAAX44mvIYJdYTeax5TwCdsml2QjLQVZ6sPMot80WMgpSo5NgXQzD whgwtobyBY7ullakwMIaCZG5Bumr//mY9Vs7oGY= X-Google-Smtp-Source: APXvYqyCdphH9kA4ZN4ldMMWHRu8R4/w8TW2jMDM0VfhGb6aY3SZj5OrXaaOlA6JDBtRyWwnhLEPxlmOqKPBaREhhTY= X-Received: by 2002:a02:4e01:: with SMTP id r1mr23554268jaa.90.1575818136732; Sun, 08 Dec 2019 07:15:36 -0800 (PST) MIME-Version: 1.0 References: <87v9qz93b0.fsf@curie.anarc.at> <871rtk6k00.fsf@fifthhorseman.net> <8736dz98en.fsf@curie.anarc.at> <8736dz3t93.fsf@disroot.org> <20191205113809.GR19894@debian> <874kyd1btp.fsf@fifthhorseman.net> <87d0cyc27p.fsf@disroot.org> In-Reply-To: <87d0cyc27p.fsf@disroot.org> From: Chris Coutinho Date: Sun, 8 Dec 2019 16:15:25 +0100 Message-ID: Subject: Re: compacting the notmuch database through systemd To: "Jorge P. de Morais Neto" Cc: Daniel Kahn Gillmor , Georg Faerber , notmuch@notmuchmail.org Content-Type: text/plain; charset="UTF-8" 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: Sun, 08 Dec 2019 15:15:41 -0000 On Sun, Dec 8, 2019 at 3:38 PM Jorge P. de Morais Neto wrote: > > Em [2019-12-06 sex 14:41:22-0500], Daniel Kahn Gillmor escreveu: > > > As for the variations, i'm kind of of a mind that people who deviate > > from the defaults should need to maintain their own deviance explicitly, > > rather than trying to accomodate a non-default path in shipped config > > files. For example, "systemctl --user edit notmuch-compact.timer" helps > > you drop in the appropriate override/modification. > > But ~/.config is the XDG standard, so maybe it deserves special > consideration. > > Regards > -- > - > - I am Brazilian. I hope my English is correct and I welcome feedback. > - Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. > - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org > - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch I execute `notmuch new` after an `offlineimap` sync using `systemd`, and the way I handle non-standard paths is by specifying the NOTMUCH_CONFIG as an environmental variable like this: $ cat ~/.config/systemd/user/offlineimap-oneshot.service.d/override.conf [Service] Environment="NOTMUCH_CONFIG=/home/chris/.config/notmuch/config" ExecStartPost=/usr/bin/notmuch new In this case I'm using `systemd` override functionality - you might be able to use it for compacting your `notmuch` database using `systemd` as well. Regards, Chris