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

Check if systemd is available #124

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

Conversation

danielpalstra
Copy link

I am using this exporter with some older Ubuntu versions that do not support systemd. This PR resolves installation issues on < Ubuntu 16.04 by checking for systemd. The node exporter uses the same approach when installing systemd related resources.

@ncabatoff
Copy link
Owner

Hi @danielpalstra,

Thanks for the PR. I like the idea, but I don't know enough about systemd to know whether this will work on non-Ubuntu systems. If you have any references to reassure me, please share them. (I looked briefly at node exporter but couldn't find where it does this.) Otherwise I'll look into it myself when I have a chance.

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.

2 participants