Remove incorrect command references from post-installation scripts.
parent
f0f7d93c12
commit
beebff0d99
|
@ -63,12 +63,12 @@ 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
|
||||||
systemctl restart telegraf || echo "WARNING: systemd not running."
|
systemctl restart chronograf || echo "WARNING: systemd not running."
|
||||||
else
|
else
|
||||||
# Assuming sysv
|
# Assuming sysv
|
||||||
install_init
|
install_init
|
||||||
install_update_rcd
|
install_update_rcd
|
||||||
invoke-rc.d telegraf restart
|
invoke-rc.d chronograf restart
|
||||||
fi
|
fi
|
||||||
elif [[ -f /etc/os-release ]]; then
|
elif [[ -f /etc/os-release ]]; then
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
|
Loading…
Reference in New Issue