Merge pull request #530 from influxdata/feature/fix-packaging-errors

Remove incorrect command references from post-installation scripts
pull/532/head
Chris Goller 2016-11-14 09:47:03 -06:00 committed by GitHub
commit f469dd14dc
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