]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
systemd/kres-cache-gc: use correct cache directory obs-knot-resolver-bs4hbr/deployments/575
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 28 Jan 2020 10:36:32 +0000 (11:36 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 28 Jan 2020 11:02:20 +0000 (12:02 +0100)
In 5.0.0, the cache directory has been moved and the previous path is
incorrect.

Fixes #543

NEWS
systemd/kres-cache-gc.service.in

diff --git a/NEWS b/NEWS
index 8e1cf7226f432156e85a2fad469cd8b0dc2b8ae0..fadddc2747ea433f1f353904db2a43b3523b22cf 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+Knot Resolver 5.y.z (yyyy-mm-dd)
+================================
+
+Bugfixes
+--------
+- systemd: use correct cache location for garbage collector (#543)
+
 Knot Resolver 5.0.0 (2020-01-27)
 ================================
 
index f7522c8b2e544155c6fff287ff8c93cd3ada07b7..2c9ad35dadfc96a2be79cca5713a7b9d901c2774 100644 (file)
@@ -5,7 +5,7 @@ Documentation=man:kresd(8)
 
 [Service]
 Type=simple
-ExecStart=@sbin_dir@/kres-cache-gc -c @systemd_work_dir@ -d 1000
+ExecStart=@sbin_dir@/kres-cache-gc -c @systemd_cache_dir@ -d 1000
 User=@user@
 Group=@group@
 Restart=on-failure