diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-12-16 13:35:00 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-12-16 13:35:00 +0100 |
commit | 9494e7d3b9e98979ab2fbf1efca0cb792f3307e4 (patch) | |
tree | 6277567eee7a78f8d004b89d8936270f27362b07 /net-dns/coredns/files | |
parent | app-portage/genlop: Drop old (diff) | |
download | gentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.tar.gz gentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.tar.bz2 gentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.zip |
net-dns/coredns: Version bump to 1.3.0
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
Diffstat (limited to 'net-dns/coredns/files')
-rw-r--r-- | net-dns/coredns/files/coredns.confd | 4 | ||||
-rw-r--r-- | net-dns/coredns/files/coredns.initd | 19 | ||||
-rw-r--r-- | net-dns/coredns/files/coredns.logrotated | 7 |
3 files changed, 30 insertions, 0 deletions
diff --git a/net-dns/coredns/files/coredns.confd b/net-dns/coredns/files/coredns.confd new file mode 100644 index 000000000000..3e7e56c9a2d0 --- /dev/null +++ b/net-dns/coredns/files/coredns.confd @@ -0,0 +1,4 @@ +### +# CoreDNS config +# +command_args="" diff --git a/net-dns/coredns/files/coredns.initd b/net-dns/coredns/files/coredns.initd new file mode 100644 index 000000000000..bea612d7d5e0 --- /dev/null +++ b/net-dns/coredns/files/coredns.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 2017-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="CoreDNS service" +pidfile=${pidfile:-"/run/${SVCNAME}.pid"} +user=${user:-root} +group=${group:-root} + +command="/usr/bin/coredns" +command_args="${command_args}" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ + --stderr /var/log/${SVCNAME}/${SVCNAME}.log" + +depend() { + after net +} diff --git a/net-dns/coredns/files/coredns.logrotated b/net-dns/coredns/files/coredns.logrotated new file mode 100644 index 000000000000..19572fbcad9c --- /dev/null +++ b/net-dns/coredns/files/coredns.logrotated @@ -0,0 +1,7 @@ +/var/log/coredns/*.log { + missingok + size 5M + rotate 3 + compress + copytruncate +} |