Use GNUPGHOME
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -42,6 +42,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
|
||||
export GNUPGHOME="$HOME/.gnupg"
|
||||
|
||||
umask 0022
|
||||
|
||||
{% set env = machine.environment | combine(user.environment) %}
|
||||
|
||||
Reference in New Issue
Block a user