Use GNUPGHOME
This commit is contained in:
@@ -5,6 +5,7 @@ ConditionPathExists=%h/.var/run/features/gpg_agent
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
|
ExecStart=/usr/bin/env gpg-agent --no-detach --daemon
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY GNUPGHOME
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
export XDG_STATE_HOME="$HOME/.local/state"
|
export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
|
|
||||||
|
export GNUPGHOME="$HOME/.gnupg"
|
||||||
|
|
||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
{% set env = machine.environment | combine(user.environment) %}
|
{% set env = machine.environment | combine(user.environment) %}
|
||||||
|
|||||||
Reference in New Issue
Block a user