mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
9 lines
464 B
Markdown
9 lines
464 B
Markdown
# Systemd Service File
|
|
|
|
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`.
|
|
|
|
In order to work, the systemd unit needs a user named `coredns`, an handy way to provide
|
|
it is to use the `systemd-sysusers` service by installing the `coredns-sysusers.conf` file in the
|
|
`sysusers.d` folder (e.g: `/usr/lib/sysusers.d`).
|