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

remove go-systemd for windows build #45

Closed
wants to merge 3 commits into from
Closed

remove go-systemd for windows build #45

wants to merge 3 commits into from

Conversation

masx200
Copy link

@masx200 masx200 commented Jul 8, 2022

#44

@maddie
Copy link
Collaborator

maddie commented Jul 8, 2022

You should move the systemd-specific logic into a _windows.go file with build tags.

@tim-seoss
Copy link
Contributor

FWIW, newer versions of go-systemd (since v22.2.0) should also compile on Windows:

coreos/go-systemd#352

If you like, I could test this since it would allow just having a single for Windows/MacOS/Linux.

FWIW, I've pushed an update to the go-systemd dependency here: https://github.com/seoss/speedtest-go/tree/go-systemd-update-to-v22.4 ...and I've carried out basic testing (socket activation mode) on Linux.

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.

3 participants