mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 02:15:11 -05:00
tests: clean up output
Some document improvements and add a few more tests.
This commit is contained in:
@@ -143,7 +143,7 @@ Github: <https://github.com/miekg/coredns>
|
||||
|
||||
## Systemd Service File
|
||||
|
||||
Use this as a systemd service file. It defaults to a coredns with a homedir of /home/coredns
|
||||
Use this as a systemd service file. It defaults to a coredns with a homedir of /home/coredns
|
||||
and the binary lives in /opt/bin and the config in `/etc/coredns/Corefile`:
|
||||
|
||||
~~~ txt
|
||||
@@ -154,12 +154,11 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
PIDFile=/home/coredns/coredns.pid
|
||||
LimitNOFILE=8192
|
||||
User=coredns
|
||||
WorkingDirectory=/home/coredns
|
||||
ExecStartPre=/sbin/setcap cap_net_bind_service=+ep /opt/bin/coredns
|
||||
ExecStart=/opt/bin/coredns -pidfile /home/coredns/coredns.pid -conf=/etc/coredns/Corefile
|
||||
ExecStart=/opt/bin/coredns -conf=/etc/coredns/Corefile
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user