mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-12 23:01:14 +01:00
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>
This commit is contained in:
parent
7345c64b08
commit
a20a450ac4
@ -8,3 +8,4 @@ RefuseManualStart=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/dirmngr --supervised
|
ExecStart=/usr/bin/dirmngr --supervised
|
||||||
|
ExecReload=/usr/bin/gpgconf --reload dirmngr
|
||||||
|
@ -8,3 +8,4 @@ RefuseManualStart=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/gpg-agent --supervised
|
ExecStart=/usr/bin/gpg-agent --supervised
|
||||||
|
ExecReload=/usr/bin/gpgconf --reload gpg-agent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user