mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
Systemd sysusers directory (#68)
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
parent
73c6d4de27
commit
39c9f7ed76
3 changed files with 8 additions and 3 deletions
|
@ -3,3 +3,7 @@
|
|||
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`).
|
||||
|
|
1
systemd/coredns-sysusers.conf
Normal file
1
systemd/coredns-sysusers.conf
Normal file
|
@ -0,0 +1 @@
|
|||
u coredns - "CoreDNS is a DNS server that chains plugins " /
|
Loading…
Reference in a new issue