mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
dns/coredns: change working directory to load extra config files
PR: 275205
This commit is contained in:
parent
02d7506df8
commit
8e5b0e862a
@ -1,7 +1,7 @@
|
||||
PORTNAME= coredns
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.11.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= dns
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -37,8 +37,8 @@ command_args="-S -m 3 -s "info" -l "daemon" -p ${pidfile} /usr/bin/env ${procnam
|
||||
|
||||
coredns_precmd()
|
||||
{
|
||||
/usr/bin/install -d -m 0755 \
|
||||
%%PREFIX%%/etc/coredns
|
||||
/usr/bin/install -d -m 0755 %%PREFIX%%/etc/coredns && \
|
||||
cfg_dir=$(dirname "${coredns_config}") && cd "$cfg_dir"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user