diff options
author | 2017-04-24 11:45:47 -0400 | |
---|---|---|
committer | 2017-04-24 16:45:47 +0100 | |
commit | bfa18470e53c5058237e02b56c97c5d0a2cb47be (patch) | |
tree | 9d295023a2e1c58464a217097d23a14105513b59 /README.md | |
parent | f359aea2faa5004b385d91a6c8668d6ba6f4cdc2 (diff) | |
download | coredns-bfa18470e53c5058237e02b56c97c5d0a2cb47be.tar.gz coredns-bfa18470e53c5058237e02b56c97c5d0a2cb47be.tar.zst coredns-bfa18470e53c5058237e02b56c97c5d0a2cb47be.zip |
Point users to deployment repo (#643)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 3 insertions, 23 deletions
@@ -193,27 +193,7 @@ When no transport protocol is specified the default `dns://` is assumed. - Github: <https://github.com/coredns/coredns> -## Systemd Service File +## Deployment -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 -[Unit] -Description=CoreDNS DNS server -Documentation=https://coredns.io -After=network.target - -[Service] -PermissionsStartOnly=true -LimitNOFILE=8192 -User=coredns -WorkingDirectory=/home/coredns -ExecStartPre=/sbin/setcap cap_net_bind_service=+ep /opt/bin/coredns -ExecStart=/opt/bin/coredns -conf=/etc/coredns/Corefile -ExecReload=/bin/kill -SIGUSR1 $MAINPID -Restart=on-failure - -[Install] -WantedBy=multi-user.target -~~~ +Examples for deployment via systemd and other use cases can be found in the +[deployment repository](https://github.com/coredns/deployment). |