Update influxdb-install.sh

add `systemctl enable --now influxdb`
This commit is contained in:
tteckster 2022-12-22 15:13:10 -05:00 committed by GitHub
parent cb327cd55c
commit 6ca1374026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,7 @@ if [[ $INFLUX == "2" ]]; then
else
apt-get install -y influxdb &>/dev/null
fi
systemctl enable --now influxdb &>/dev/null
msg_ok "Installed InfluxDB"
read -r -p "Would you like to add Telegraf? <y/N> " prompt