summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2016-12-23 01:15:50 +0200
committerYuval Adam <_@yuv.al>2016-12-23 01:15:50 +0200
commite37d0507875a7943ac49fed7f2b8bc7930bd85ea (patch)
treea4b8d67438d0afafae35e1b773da61ac4774b22d
parent41bc1b1ddba06de65f3bfec6b9b0c17f93f21aac (diff)
Add GPG agent systemd unit
-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