From 10fac03cb9d9b86fba4fc1cbed938e34d0fe94d1 Mon Sep 17 00:00:00 2001 From: TEC Date: Thu, 9 Nov 2023 02:02:48 +0800 Subject: [PATCH] Make services that use gpg want gpg-agent --- config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.org b/config.org index 7c901ea..bade3f3 100644 --- a/config.org +++ b/config.org @@ -3040,6 +3040,7 @@ used to ensure that =.zshenv= is loaded. [Unit] Description=Emacs server daemon Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ +Wants=gpg-agent.service [Service] Type=forking @@ -6803,6 +6804,7 @@ We'll use a template service file so we can enable a unit per-account. Description=IMAP notifier using IDLE, golang version. ConditionPathExists=%h/.config/imapnotify/%I/notify.conf After=network.target +Wants=gpg-agent.service [Service] ExecStart=%h/.local/bin/goimapnotify -conf %h/.config/imapnotify/%I/notify.conf @@ -6842,6 +6844,7 @@ WantedBy=default.target Description=mbsync service, sync all mail Documentation=man:mbsync(1) ConditionPathExists=%h/.mbsyncrc +Wants=gpg-agent.service [Service] Type=oneshot