mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
464 B
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
).