[Pkg-gnupg-commit] [gnupg2] 26/34: systemd-user: Drop redundant After=*.socket.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Aug 11 16:51:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch upstream
in repository gnupg2.

commit 81074c3b0211854a2dc94600dc892224201536f5
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Mon Aug 7 04:14:02 2017 -0400

    systemd-user: Drop redundant After=*.socket.
    
    * doc/examples/systemd-user/*.service: Drop redundant After=*.socket
    directive.
    
    --
    
    systemd.socket(5) says:
    
       Socket units will have a Before= dependency on the service which
       they trigger added implicitly.
    
    Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
---
 doc/examples/systemd-user/dirmngr.service   | 1 -
 doc/examples/systemd-user/gpg-agent.service | 1 -
 2 files changed, 2 deletions(-)

diff --git a/doc/examples/systemd-user/dirmngr.service b/doc/examples/systemd-user/dirmngr.service
index 2a7c76e..3c060cd 100644
--- a/doc/examples/systemd-user/dirmngr.service
+++ b/doc/examples/systemd-user/dirmngr.service
@@ -2,7 +2,6 @@
 Description=GnuPG network certificate management daemon
 Documentation=man:dirmngr(8)
 Requires=dirmngr.socket
-After=dirmngr.socket
 
 [Service]
 ExecStart=/usr/bin/dirmngr --supervised
diff --git a/doc/examples/systemd-user/gpg-agent.service b/doc/examples/systemd-user/gpg-agent.service
index a909f0b..a050fcc 100644
--- a/doc/examples/systemd-user/gpg-agent.service
+++ b/doc/examples/systemd-user/gpg-agent.service
@@ -2,7 +2,6 @@
 Description=GnuPG cryptographic agent and passphrase cache
 Documentation=man:gpg-agent(1)
 Requires=gpg-agent.socket
-After=gpg-agent.socket
 
 [Service]
 ExecStart=/usr/bin/gpg-agent --supervised

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list