Skip to content

Commit bc2a44f

Browse files
committed
fix influxdb2 command that changed
1 parent fd92638 commit bc2a44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mycodo/scripts/upgrade_commands.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ case "${1:-''}" in
474474
dpkg -i "${INSTALL_FILE}"
475475
rm -rf "${INSTALL_FILE}"
476476

477-
service influxd restart
477+
service influxdb restart
478478
else
479479
printf "Correct version of InfluxDB currently installed (v${CORRECT_VERSION_INSTALL}).\n"
480480
fi
@@ -492,7 +492,7 @@ case "${1:-''}" in
492492
dpkg -i "${CLIENT_FILE}"
493493
rm -rf "${CLIENT_FILE}"
494494

495-
service influxd restart
495+
service influxdb restart
496496
else
497497
printf "Correct version of InfluxDB-Client currently installed (v${CORRECT_VERSION_CLI}).\n"
498498
fi

0 commit comments

Comments
 (0)