summaryrefslogtreecommitdiffstats
path: root/doc/examples/systemd-user/gpg-agent.service
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/systemd-user/gpg-agent.service')
-rw-r--r--doc/examples/systemd-user/gpg-agent.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/examples/systemd-user/gpg-agent.service b/doc/examples/systemd-user/gpg-agent.service
new file mode 100644
index 000000000..9ab922081
--- /dev/null
+++ b/doc/examples/systemd-user/gpg-agent.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=GnuPG cryptographic agent and passphrase cache
+Documentation=man:gpg-agent(1)
+Requires=gpg-agent.socket
+After=gpg-agent.socket
+## This is a socket-activated service:
+RefuseManualStart=true
+
+[Service]
+ExecStart=/usr/bin/gpg-agent --supervised