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