coredns-deployment/systemd/README.md
Lorenzo Fontana 39c9f7ed76 Systemd sysusers directory (#68)
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-04-06 11:26:50 +01:00

464 B

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).