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

Move systemd code to linux-only built files #345

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fanatic
Copy link

@fanatic fanatic commented Jul 2, 2018

This moves systemd activation to a build tagged file to allow skydns to be built on Windows. For issue #212

@JaysLiang
Copy link

@fanatic can you install this on windows? I always get error when install on windows (the problem is about systemd)

@fanatic
Copy link
Author

fanatic commented Jul 17, 2018

Yeah, this change disables the systemd activation code when built on Windows - but there are some other code that assumes Linux (like reading from /etc/resolv.conf to determine default dns settings). However, since this allows skydns to be built on Windows, I'm able to use it as a library in my Go code.

@JaysLiang
Copy link

@fanatic thanks, but i still can not install skydns. I think some other part code may also use the package "systemd". I don't know how to fixed that.

@derit
Copy link

derit commented Oct 21, 2020

@JaysLiang i has tested to compile @fanatic code on windows without error

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

Successfully merging this pull request may close these issues.

4 participants