knot-resolver: config fixes + add garbage collector service
This commit is contained in:
parent
d45e73d548
commit
49d30f5e14
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
install -d -m0755 -o _knot_resolver -g _knot_resolver /run/knot-resolver
|
||||
exec kres-cache-gc ${OPTS:- -d 1000 -c /run/knot-resolver}
|
|
@ -2,4 +2,4 @@
|
|||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
install -d -m0755 -o _knot_resolver -g _knot_resolver /run/knot-resolver
|
||||
exec kresd ${OPTS:--f 1}
|
||||
exec kresd ${OPTS:- --noninteractive -c /etc/knot-resolver/kresd.conf /run/knot-resolver}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'knot-resolver'
|
||||
pkgname=knot-resolver
|
||||
version=5.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="
|
||||
-Dclient=enabled
|
||||
|
@ -36,6 +36,7 @@ post_install() {
|
|||
vinstall etc/root.hints 644 var/lib/knot-resolver
|
||||
vinstall etc/root.keys 644 var/lib/knot-resolver
|
||||
vsv kresd
|
||||
vsv kres-cache-gc
|
||||
}
|
||||
|
||||
knot-resolver-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue