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.service11
1 files changed, 11 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..69c7bb6
--- /dev/null
+++ b/.config/systemd/user/gpg-agent.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=GnuPG private key agent
+IgnoreOnIsolate=true
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/gpg-agent --daemon
+Restart=on-abort
+
+[Install]
+WantedBy=default.target