Browse Source

Update influxdb-install.sh

add `systemctl enable --now influxdb`
tteckster 2 years ago
parent
commit
6ca1374026
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setup/influxdb-install.sh

+ 1 - 0
setup/influxdb-install.sh

@@ -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