Use GNUPGHOME

This commit is contained in:
2024-04-14 01:31:55 +02:00
parent 9278e8c065
commit ba066166fe
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ ConditionPathExists=%h/.var/run/features/gpg_agent
[Service]
Type=forking
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
PassEnvironment=DISPLAY
ExecStart=/usr/bin/env gpg-agent --no-detach --daemon
PassEnvironment=DISPLAY GNUPGHOME
Restart=always