Remove incorrect command references from post-installation scripts.

pull/10616/head
Ross McDonald 2016-11-14 09:45:57 -06:00
parent fe8fc1cdef
commit cccda3da41
1 changed files with 2 additions and 2 deletions

View File

@ -63,12 +63,12 @@ elif [[ -f /etc/debian_version ]]; then
which systemctl &>/dev/null
if [[ $? -eq 0 ]]; then
install_systemd
systemctl restart telegraf || echo "WARNING: systemd not running."
systemctl restart chronograf || echo "WARNING: systemd not running."
else
# Assuming sysv
install_init
install_update_rcd
invoke-rc.d telegraf restart
invoke-rc.d chronograf restart
fi
elif [[ -f /etc/os-release ]]; then
source /etc/os-release