Commit 2476e5ff authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

systemd: drop WantedBy directive from kresd.service

This directive is unnecessary in the .service file, and it also causes
a dependency cycle that systemd is obliged to break.

Since kresd is socket-activated, there is no need for the WantedBy
directive in the .service file itself.  As long as the .socket files
are installed, the service will run when it is used.
parent 87a1805c
......@@ -11,6 +11,3 @@ User=knot-resolver
Restart=on-failure
# CAP_NET_BIND_SERVICE capability is needed for manual service activation
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=sockets.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment