Commit graph

5 commits

Author SHA1 Message Date
leonardo091800
d222a8e478
In systemd: added log files and changed workingdir (#287)
* coredns log configuration for logrotate

In order to not let the log files (wrote in the systemd file) grew too much, we should move this "coredns-log.conf" file inside /etc/logrotate.d/
In this case I set 50MB of logs, splitted in 5 files, rotation occurs every time on file reaches 10MB in size, I also said to compress the file after the rotation, so even less space should be occupied,
you can change this settings with whatever configuration you prefer. :)

* Update README.md

updated readme with instruction with where to move the configuration file for coredns-log.conf

* Update README.md

* changed workingdir and added log files

sometimes using ~ in the workingdir does not work
Also I'd like to print a basic log of what's happening

* update logs in coredns.service

Changed StandardOutput and StandardError from file: to append:
(so when coredns restart logs continue to be printed)
2023-08-11 14:14:06 -04:00
Xuanwo
3b3fbd7832 Set coredns's homedir to /var/lib/coredns (#175) 2019-06-03 09:24:33 -04:00
Lorenzo Fontana
39c9f7ed76 Systemd sysusers directory (#68)
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-04-06 11:26:50 +01:00
Miek Gieben
aaf5dae5dd
debian: add package building (#20)
This only builds on a debian system, because it uses the dpkg-helper
and other utils. But it builds! Multiarch is supported, you can easily
build a package for amd64, arm and arm64. The Makefile does this by
default.

Massively update the systemd file.
2017-11-11 14:57:29 +00:00
John Belamaric
8a21a7ac52 Move systemd service file from main CoreDNS README (#6) 2017-04-24 16:06:56 +01:00