]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
systemd: explicitly add kresd@ to system-kresd.slice
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 27 Jan 2020 16:42:18 +0000 (17:42 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 27 Jan 2020 17:35:17 +0000 (18:35 +0100)
By some magic (unknown so far) the service was ending up in the slice
anyway, but it seems much better to put it there explicitly.
Closely related to !925.

systemd/kresd@.service.in

index 9b00770cce9564cf561b43f7612f7b5cacba2d4d..179e64d2e6010b84c86f2859be8986b627883110 100644 (file)
@@ -20,6 +20,7 @@ TimeoutStopSec=10s
 WatchdogSec=10s
 Restart=on-abnormal
 LimitNOFILE=524288
+Slice=system-kresd.slice
 
 [Install]
 WantedBy=kresd.target