From 2f41ae24f87863c119bfdb35fbb3f8b46a1bb6fa Mon Sep 17 00:00:00 2001 From: Ross McDonald Date: Wed, 30 Mar 2016 10:51:21 -0500 Subject: [PATCH] Swap systemd command, as it was causing issues on Debian. --- scripts/post-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-install.sh b/scripts/post-install.sh index d4c5df443..53d745ca9 100644 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -64,7 +64,7 @@ elif [[ -f /etc/debian_version ]]; then which systemctl &>/dev/null if [[ $? -eq 0 ]]; then install_systemd - deb-systemd-invoke restart telegraf.service + systemctl restart telegraf else # Assuming sysv install_init