coredns-deployment/debian/coredns.service
Miek Gieben 6530a4f15a
debian: build all 3 ARCHs (#150)
Just build them all, and some typos fixed.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-14 11:02:57 +01:00

20 lines
452 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