2017-04-24 17:06:56 +02:00
|
|
|
# Systemd Service File
|
|
|
|
|
2017-11-11 15:57:29 +01:00
|
|
|
Use `coredns.service` as a systemd service file. It defaults to using a "coredns" user with
|
|
|
|
a homedir of `/var/lib/coredns` and the binary lives in `/usr/bin` and the config in
|
|
|
|
`/etc/coredns/Corefile`.
|
2018-04-06 12:26:50 +02:00
|
|
|
|
2019-06-03 15:24:33 +02:00
|
|
|
In order to work, you need to do following jobs:
|
|
|
|
|
|
|
|
- Put `coredns` binary in `/usr/bin`
|
|
|
|
- Put `Corefile` at `/etc/coredns/Corefile`
|
|
|
|
- Put `coredns-sysusers.conf` in `/usr/lib/sysusers.d`
|
|
|
|
- Put `coredns-tmpfiles.conf` in `/usr/lib/tmpfiles.d`
|
2023-08-11 20:14:06 +02:00
|
|
|
- Put `coredns-log.conf` in `/etc/logrotate.d`
|