Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] knot-resolver: fix configfile location in runit service
@ 2023-07-23 19:37 MeganerdNL
  2023-07-23 19:42 ` classabbyamp
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: MeganerdNL @ 2023-07-23 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

There is a new pull request by MeganerdNL against master on the void-packages repository

https://github.com/MeganerdNL/void-packages knot-resolver-update
https://github.com/void-linux/void-packages/pull/45209

knot-resolver: fix configfile location in runit service
#### Testing the changes
- I tested the changes in this PR: **YES**

I noticed that in the default installation the default config file (/etc/knot-resolver/kresd.conf) was not read: so making changes to it, did nothing. If there is another solution to fix this properly, let me know.

A patch file from https://github.com/void-linux/void-packages/pull/45209.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-knot-resolver-update-45209.patch --]
[-- Type: text/x-diff, Size: 769 bytes --]

From 1578974a1e333f4803e88014ab1ccb4bd63baa3e Mon Sep 17 00:00:00 2001
From: MeganerdNL <meganerd@meganerd.nl>
Date: Sun, 23 Jul 2023 21:31:32 +0200
Subject: [PATCH] knot-resolver: fix configfile location in runit service

---
 srcpkgs/knot-resolver/files/kresd/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/knot-resolver/files/kresd/run b/srcpkgs/knot-resolver/files/kresd/run
index 43b80cda27f2c..68b37b9ad67ea 100644
--- a/srcpkgs/knot-resolver/files/kresd/run
+++ b/srcpkgs/knot-resolver/files/kresd/run
@@ -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:--f 1 -c ${CONF_FILE:-/etc/knot-resolver/kresd.conf}}

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-07-28  4:42 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-23 19:37 [PR PATCH] knot-resolver: fix configfile location in runit service MeganerdNL
2023-07-23 19:42 ` classabbyamp
2023-07-23 21:00 ` MeganerdNL
2023-07-23 21:07 ` [PR PATCH] [Updated] " MeganerdNL
2023-07-23 21:08 ` MeganerdNL
2023-07-23 21:09 ` MeganerdNL
2023-07-23 21:10 ` MeganerdNL
2023-07-23 21:10 ` MeganerdNL
2023-07-24 14:09 ` MeganerdNL
2023-07-25  6:19 ` [PR PATCH] [Updated] " MeganerdNL
2023-07-25  6:22 ` MeganerdNL
2023-07-25  6:30 ` classabbyamp
2023-07-25  7:08 ` [PR PATCH] [Updated] " MeganerdNL
2023-07-25  7:08 ` MeganerdNL
2023-07-25  7:08 ` MeganerdNL
2023-07-25 20:48 ` [PR PATCH] [Updated] " MeganerdNL
2023-07-25 20:50 ` MeganerdNL
2023-07-25 20:50 ` MeganerdNL
2023-07-25 20:55 ` MeganerdNL
2023-07-25 21:08 ` [PR PATCH] [Updated] knot-resolver: config fixes + add garbage collector service MeganerdNL
2023-07-25 21:14 ` Duncaen
2023-07-26  1:28 ` classabbyamp
2023-07-26  5:22 ` [PR PATCH] [Updated] " MeganerdNL
2023-07-26  5:25 ` MeganerdNL
2023-07-26  5:30 ` MeganerdNL
2023-07-28  4:42 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).