Remove incorrect command references from post-installation scripts.
parent
fe8fc1cdef
commit
cccda3da41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue