fix .gitignore rules
This commit is contained in:
parent
fc61b5b9b5
commit
7300fae964
|
@ -1,4 +1,4 @@
|
|||
*.deb
|
||||
*tar.gz
|
||||
md5sums
|
||||
files/
|
||||
./files/
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# Default Corefile, see https://coredns.io for more information.
|
||||
|
||||
# Answer every below the root, with the whoami plugin. Log all queries
|
||||
# and errors on standard output.
|
||||
. {
|
||||
whoami # coredns.io/plugins/whoami
|
||||
log # coredns.io/plugins/log
|
||||
errors # coredns.io/plugins/errors
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description=CoreDNS DNS server
|
||||
Documentation=https://coredns.io
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=512
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
NoNewPrivileges=true
|
||||
User=coredns
|
||||
WorkingDirectory=~
|
||||
ExecStart=/usr/bin/coredns -conf=/etc/coredns/Corefile
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue