Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unitfile for multiple instance and systemd for the powerdns-recursor #3922

Closed
j0ju opened this issue Jun 1, 2016 · 3 comments
Closed

Unitfile for multiple instance and systemd for the powerdns-recursor #3922

j0ju opened this issue Jun 1, 2016 · 3 comments

Comments

@j0ju
Copy link

j0ju commented Jun 1, 2016

From a small discussion on IRC.
The following first version of a unit file supporting multiple instances has emerged https://gist.github.com/pieterlexis/9ca263d1d900f56e9661da9d2b705f8a.

Please include it in future releases.

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jun 1, 2016
@j0ju
Copy link
Author

j0ju commented Jun 2, 2016

This unit file works, but logging is a bit globbered, the timestamp is added twice when loggin via systemd/journald.

Jun 2 15:22:20 host pdns_recursor[21012]: Jun 02 15:22:20 Refreshed . records

It might be a good idea, adding an option for not adding a timestamp prefix when logging to stdout under a supervisor.

@pieterlexis
Copy link
Contributor

yes, this is also the case with the auth I think.... We'll need to ponder to just stop timestamping ourselves or make it configurable.

@j0ju
Copy link
Author

j0ju commented Jun 2, 2016

An option would be better IMHO, as for debugging running pdns on foreground on a console should log timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants