From 2476e5ff22bd7e4e4971939fcfa884060340ef26 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 9 Jan 2018 16:06:45 -0500 Subject: [PATCH] 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. --- systemd/kresd.service | 3 --- 1 file changed, 3 deletions(-) diff --git a/systemd/kresd.service b/systemd/kresd.service index fdf75746d..2f8a77ce5 100644 --- a/systemd/kresd.service +++ b/systemd/kresd.service @@ -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 -- 2.47.3