coredns / deployment

Scripts, utilities, and examples for deploying CoreDNS.
Apache License 2.0
549 stars 535 forks source link

In systemd: added log files and changed workingdir #287

Closed leonardo091800 closed 1 year ago

leonardo091800 commented 1 year ago

in systemd configuration: Added log files (with log rotation) changed workingdir from ~ to /var/lib/coredns (to some people this causes problems)

oliviassss commented 5 months ago

@leonardo091800, hi, I'm trying to add coredns as systemd service following the README, the service itself is active, but I see errors like/

systemd[1]: [/etc/systemd/system/coredns.service:22] Failed to parse output specifier, ignoring: file:/var/log/coredns.log

I can see coredns logs from journalctl cmd, but the /var/log/coredns.log itself is empty. Do I miss anything here?