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

Systemd service not enabled on Debian #525

Closed
deric opened this issue Jan 15, 2016 · 2 comments
Closed

Systemd service not enabled on Debian #525

deric opened this issue Jan 15, 2016 · 2 comments
Assignees

Comments

@deric
Copy link
Contributor

deric commented Jan 15, 2016

Debian does not contain /etc/lsb-release file (unlike Ubuntu), instead there's a binary lsb_release:

$ lsb_release -r
Release:        8.2

When release number is >=8.0 systemd service should be enabled. Maybe just removing this line would solve it. Assuming that most distributions would use either systemd or sysvinit.

@rossmcdonald
Copy link
Contributor

@deric Thanks for letting us know. Fix here: #526

Workaround:

$ sudo cp /usr/lib/telegraf/scripts/telegraf.service /lib/systemd/system/
$ sudo systemctl enable telegraf

@deric
Copy link
Contributor Author

deric commented Jan 15, 2016

No, problem. Yeah, I've managed to bypass the issue, but it's annoying to do this on each server. Using /etc/debian_version is even better idea, than mine 👍.

@sparrc sparrc closed this as completed in 7bfb429 Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants