summaryrefslogtreecommitdiff
path: root/.config/systemd/user/gpg-agent.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/gpg-agent.service')
-rw-r--r--.config/systemd/user/gpg-agent.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/systemd/user/gpg-agent.service b/.config/systemd/user/gpg-agent.service
new file mode 100644
index 0000000..93c12b0
--- /dev/null
+++ b/.config/systemd/user/gpg-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description="GnuPG agent daemon"
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg
+
+[Install]
+WantedBy=default.target