aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-10-08 16:44:43 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2016-10-08 16:44:43 +0100
commite8b4412564e12d3dacd1aecb0bac66302c787754 (patch)
treeedd96edc6aa27c99999f2024844557e2ea5bd583 /README.md
parente43384b501e211364cd167c87b4759e60add9776 (diff)
downloadcoredns-e8b4412564e12d3dacd1aecb0bac66302c787754.tar.gz
coredns-e8b4412564e12d3dacd1aecb0bac66302c787754.tar.zst
coredns-e8b4412564e12d3dacd1aecb0bac66302c787754.zip
tests: clean up output
Some document improvements and add a few more tests.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 72c4d443b..5c59dc2b9 100644
--- a/README.md
+++ b/README.md
@@ -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