coredns-deployment/systemd
2019-06-03 09:24:33 -04:00
..
coredns-sysusers.conf Set coredns's homedir to /var/lib/coredns (#175) 2019-06-03 09:24:33 -04:00
coredns-tmpfiles.conf Set coredns's homedir to /var/lib/coredns (#175) 2019-06-03 09:24:33 -04:00
coredns.service Systemd sysusers directory (#68) 2018-04-06 11:26:50 +01:00
README.md Set coredns's homedir to /var/lib/coredns (#175) 2019-06-03 09:24:33 -04:00

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, 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