systemd-user: Drop redundant After=*.socket.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 7 Aug 2017 08:14:02 +0000 (04:14 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 7 Aug 2017 12:01:18 +0000 (08:01 -0400)
* 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@fifthhorseman.net>
doc/examples/systemd-user/dirmngr.service
doc/examples/systemd-user/gpg-agent.service

index 2a7c76e..3c060cd 100644 (file)
@@ -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
index a909f0b..a050fcc 100644 (file)
@@ -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