summaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-01-10 23:12:09 +0100
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-01-10 23:16:38 +0100
commita20a450ac4ef10847fd59a5fd3acbbd2bfcaa6a2 (patch)
tree7f678c3b05b074f13f5f644125a1387765270e46 /doc/examples
parentdoc: Mention dirmngr.conf (diff)
downloadgnupg2-a20a450ac4ef10847fd59a5fd3acbbd2bfcaa6a2.tar.xz
gnupg2-a20a450ac4ef10847fd59a5fd3acbbd2bfcaa6a2.zip
systemd-user: Enable "systemctl --user reload {dirmngr,gpg-agent}"
* doc/examples/systemd-user/*.service: Add ExecReload directives to indicate the canonical way to reload the services. GnuPG recommends reloading the agent and dirmngr with "gpgconf --reload". if anyone is running them as systemd user services, they might ask them to reload in the systemd way, so teach systemd the right thing to do. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/systemd-user/dirmngr.service1
-rw-r--r--doc/examples/systemd-user/gpg-agent.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/systemd-user/dirmngr.service b/doc/examples/systemd-user/dirmngr.service
index c79dfc58a..ded533b2f 100644
--- a/doc/examples/systemd-user/dirmngr.service
+++ b/doc/examples/systemd-user/dirmngr.service
@@ -8,3 +8,4 @@ RefuseManualStart=true
[Service]
ExecStart=/usr/bin/dirmngr --supervised
+ExecReload=/usr/bin/gpgconf --reload dirmngr
diff --git a/doc/examples/systemd-user/gpg-agent.service b/doc/examples/systemd-user/gpg-agent.service
index 9ab922081..e88dc7f5f 100644
--- a/doc/examples/systemd-user/gpg-agent.service
+++ b/doc/examples/systemd-user/gpg-agent.service
@@ -8,3 +8,4 @@ RefuseManualStart=true
[Service]
ExecStart=/usr/bin/gpg-agent --supervised
+ExecReload=/usr/bin/gpgconf --reload gpg-agent