Commit bbb24702 authored by Jan Včelák's avatar Jan Včelák 🚀

knot.sample.conf: variable replacement fixes

parent 26668c55
......@@ -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;
# }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment