]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! utils/cache_gc: rename daemon to kres_cache_gc
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 20 Jun 2019 12:57:23 +0000 (14:57 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 3 Jul 2019 13:30:23 +0000 (15:30 +0200)
daemon/README.rst
distro/deb/knot-resolver.install
distro/rpm/knot-resolver.spec
utils/cache_gc/.gitignore

index 9b179cd2af65df8cfa7033d9892e62b6b74ecd13..8fbb5dbc5b168a8d7ceb45829871282439020f2f 100644 (file)
@@ -624,13 +624,13 @@ required, the entire cache is dropped. To avoid starting over with an empty
 cache, a separate garbage collector daemon is available to periodically trim
 the cache instead.
 
-The cache garbage collector daemon (``kr_cache_gc``) monitors the cache usage
+The cache garbage collector daemon (``kres_cache_gc``) monitors the cache usage
 and attempts to free up space when a threshold is reached. To spawn the daemon
 and configure it to run every minute, use:
 
 .. code-block:: bash
 
-   $ kr_cache_gc -c /var/cache/knot-resolver -d 60000
+   $ kres_cache_gc -c /var/cache/knot-resolver -d 60000
 
 It's also possible to run this under systemd. However, a dedicated systemd unit
 is not currently part of the upstream package. See `message#167`_ on our
index e80207f1fe8426d2c3bc497423ad03c7d1f275d3..91179e9b6d9f21f9bebad7170ebc091939b24d08 100644 (file)
@@ -30,4 +30,4 @@ usr/lib/knot-resolver/kres_modules/view.lua
 usr/lib/knot-resolver/kres_modules/workarounds.lua
 usr/sbin/kresc
 usr/sbin/kresd
-usr/sbin/kr_cache_gc
+usr/sbin/kres_cache_gc
index 29a1d15c9301262db9bfbf690a873cdc4a4ef5cb..0b344814610566fbe506b91b68dd9a016d64343d 100644 (file)
@@ -251,7 +251,7 @@ getent passwd knot-resolver >/dev/null || useradd -r -g knot-resolver -d %{_sysc
 %attr(750,knot-resolver,knot-resolver) %dir %{_localstatedir}/cache/%{name}
 %{_sbindir}/kresd
 %{_sbindir}/kresc
-%{_sbindir}/kr_cache_gc
+%{_sbindir}/kres_cache_gc
 %{_libdir}/libkres.so.*
 %dir %{_libdir}/knot-resolver
 %{_libdir}/knot-resolver/*.so
index c27063b46b7e996bbb74706aa626bf711be63fee..86ce5b14ccbb434543acc4224d0992333de1f14c 100644 (file)
@@ -1,2 +1,2 @@
-kr_cache_gc
+kres_cache_gc