mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-06-08 16:12:37 -04:00
knot.sample.conf: variable replacement fixes
This commit is contained in:
parent
26668c5509
commit
bbb24702ba
2 changed files with 7 additions and 5 deletions
|
|
@ -4,7 +4,9 @@ edit = sed \
|
|||
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
||||
-e 's|@prefix[@]|$(prefix)|g' \
|
||||
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
||||
-e 's|@config_dir[@]|$(config_dir)|g'
|
||||
-e 's|@config_dir[@]|$(config_dir)|g' \
|
||||
-e 's|@storage_dir[@]|$(storage_dir)|g' \
|
||||
-e 's|@run_dir[@]|$(run_dir)|g'
|
||||
|
||||
knot.sample.conf: knot.sample.conf.in
|
||||
rm -f $@ $@.tmp
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ system {
|
|||
# Working directory of the server
|
||||
# Used to store compiled zones and PID file
|
||||
# default: ${sharedstatedir}/knot, configured with --with-storage
|
||||
# storage "/var/lib/knot";
|
||||
# storage "@storage_dir@";
|
||||
|
||||
# Directory for storing run-time data
|
||||
# default: ${localstatedir}/run/knot, configured with --with-rundir
|
||||
# rundir "/var/run/knot";
|
||||
# rundir "@run_dir@";
|
||||
}
|
||||
|
||||
interfaces {
|
||||
|
|
@ -36,7 +36,7 @@ interfaces {
|
|||
|
||||
control {
|
||||
# Specifies interface, syntax is exactly the same as in 'interfaces' section
|
||||
# Default: $(run_dir)/knot.sock
|
||||
# Default: knot.sock (relative to rundir)
|
||||
listen-on "knot.sock";
|
||||
|
||||
# As an alternative, you can use an IPv4/v6 address and port
|
||||
|
|
@ -68,7 +68,7 @@ zones {
|
|||
#
|
||||
# Example slave zone
|
||||
# example.net {
|
||||
# file "@localstatedir@/example.net.zone
|
||||
# file "@storage_dir@/example.net.zone
|
||||
# xfr-in master0;
|
||||
# notify-in master0;
|
||||
# }
|
||||
|
|
|
|||
Loading…
Reference in a new issue