diff options
-rw-r--r-- | dns/coredns/Makefile | 1 | ||||
-rw-r--r-- | dns/coredns/files/coredns.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dns/coredns/Makefile b/dns/coredns/Makefile index 2e42a4c7c9cd..5cf6341bf856 100644 --- a/dns/coredns/Makefile +++ b/dns/coredns/Makefile @@ -1,6 +1,7 @@ PORTNAME= coredns DISTVERSIONPREFIX= v DISTVERSION= 1.12.2 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/coredns/files/coredns.in b/dns/coredns/files/coredns.in index fb5af7605464..b0a422fc3b5b 100644 --- a/dns/coredns/files/coredns.in +++ b/dns/coredns/files/coredns.in @@ -30,10 +30,11 @@ load_rc_config $name : ${coredns_listen_port:="53"} pidfile="/var/run/${name}.pid" +logfile="/var/log/${name}.log" command="/usr/sbin/daemon" procname="%%PREFIX%%/bin/${name}" coredns_args="-conf ${coredns_config} -dns.port ${coredns_listen_port}" -command_args="-S -m 3 -s "info" -l "daemon" -p ${pidfile} /usr/bin/env ${procname} ${coredns_args}" +command_args="-o ${logfile} -m 3 -s "info" -l "daemon" -p ${pidfile} /usr/bin/env ${procname} ${coredns_args}" coredns_precmd() { |