diff options
Diffstat (limited to 'community/knot-resolver/kres-cache-gc.initd')
-rw-r--r-- | community/knot-resolver/kres-cache-gc.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/knot-resolver/kres-cache-gc.initd b/community/knot-resolver/kres-cache-gc.initd index 643186b649..faa64426da 100644 --- a/community/knot-resolver/kres-cache-gc.initd +++ b/community/knot-resolver/kres-cache-gc.initd @@ -13,8 +13,8 @@ pidfile="/run/$RC_SVCNAME.pid" start_stop_daemon_args="--wait $wait" start_pre() { - if [ -z "$cachedir" ] && [ -e /etc/conf.d/knot-resolver ]; then - cachedir=$(. /etc/conf.d/knot-resolver; echo "$cachedir") + if [ -z "$cachedir" ] && [ -e /etc/conf.d/kresd ]; then + cachedir=$(. /etc/conf.d/kresd; echo "$cachedir") fi : ${cachedir:="/var/cache/knot-resolver"} |