PowerDNS: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
Line 37: | Line 37: | ||
}; | }; | ||
</source> | </source> | ||
==chroot with systemd== | |||
At the moment Ubuntu misses the |
Revision as of 08:55, 1 July 2016
PowerDNS Server (pdns_server)
Logging with systemd and syslog-ng
1. Tell the journald of systemd to forward messages to syslog: In /etc/systemd/journald.conf set it from
#ForwardToSyslog=yes
to
ForwardToSyslog=yes
Then restart the journald
# systemctl restart systemd-journald.service
2. Tell syslog-ng to take the dev-log-socket from journald as input:
Change the part in /etc/syslog-ng/syslog-ng.conf from
source s_src {
system();
internal();
};
to
source s_src {
system();
internal();
unix-dgram ("/run/systemd/journal/dev-log");
};
chroot with systemd
At the moment Ubuntu misses the