Skip to content

Commit

Permalink
fix scline/docker-cacti/issues/scline#94
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenderness-Miao committed Jul 20, 2021
1 parent d57d1b5 commit a9de231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ if [ ${REMOTE_POLLER} != 1 ]; then
-e "s/%RDB_NAME%/${RDB_NAME}/" \
-e "s/%RDB_USER%/${RDB_USER}/" \
-e "s/%RDB_PASS%/${RDB_PASS}/" \
/cacti/include/config.php
-e "s/%CACTI_URL_PATH%/${CACTI_URL_PATH}/" \
/cacti/include/config.php

# attempt db upgrade via cli
echo "$(date +%F_%R) [Upgrade] Attempting to update database via CLI."
Expand Down

0 comments on commit a9de231

Please sign in to comment.