mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
This only builds on a debian system, because it uses the dpkg-helper and other utils. But it builds! Multiarch is supported, you can easily build a package for amd64, arm and arm64. The Makefile does this by default. Massively update the systemd file.
20 lines
455 B
Desktop File
20 lines
455 B
Desktop File
[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
|