diff options
| author | alex <alex@pdp7.net> | 2024-06-16 10:41:40 +0000 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-06-16 12:42:44 +0200 |
| commit | a0144c3e644fb28c412b08cb77a80083f498c525 (patch) | |
| tree | 0391e0d13c7dd26c1f362fb88bfcbfdf2e0f6316 /scripts | |
| parent | e74de38c4a6a0099593d0f440e0aad119dd6e66a (diff) | |
Do not run notmuch new when syncing, add lock
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/p7s/mail/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/p7s/mail/__init__.py b/scripts/p7s/mail/__init__.py index 27183325..0bcbf33c 100644 --- a/scripts/p7s/mail/__init__.py +++ b/scripts/p7s/mail/__init__.py @@ -26,7 +26,7 @@ def generate_config(): [Service] Type=oneshot - ExecStart=/usr/bin/mbsync -qa ; /usr/bin/notmuch new + ExecStart=/usr/bin/touch /home/alex/Mail/.lock ; /usr/bin/mbsync -qa ; /usr/bin/rm -f /home/alex/Mail/.lock """).lstrip()) (user_units / "mbsync.timer").write_text(textwrap.dedent(""" |
