Skip to content
Snippets Groups Projects
Commit 2f41ae24 authored by Ross McDonald's avatar Ross McDonald Committed by Cameron Sparr
Browse files

Swap systemd command, as it was causing issues on Debian.

parent 4ad551be
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ elif [[ -f /etc/debian_version ]]; then ...@@ -64,7 +64,7 @@ elif [[ -f /etc/debian_version ]]; then
which systemctl &>/dev/null which systemctl &>/dev/null
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then
install_systemd install_systemd
deb-systemd-invoke restart telegraf.service systemctl restart telegraf
else else
# Assuming sysv # Assuming sysv
install_init install_init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment