fix typo with dashboard foldler/file naming

This commit is contained in:
KemoNine 2020-08-22 15:46:07 -04:00
parent c024f3c510
commit d1b54f59dc
2 changed files with 1 additions and 1 deletions

View file

@ -154,7 +154,7 @@ if [ ! -d "/opt/monit-dashboard" ] ; then
mkdir /opt/monit-dashboard mkdir /opt/monit-dashboard
fi fi
if [ ! -d "/opt/monit-dashboard/.git" ] ; then if [ ! -d "/opt/monit-dashboard/.git" ] ; then
git clone https://github.com/adriaaah/monit-dashboard /opt/monit-dashboard git clone https://git.kemonine.info/PiFrame/monit-dashboard.git /opt/monit-dashboard
sed -i 's/app.run(port=8080)/app.run(port=2811)/g' /opt/monit-dashboard/bin/monit-dashboard.py sed -i 's/app.run(port=8080)/app.run(port=2811)/g' /opt/monit-dashboard/bin/monit-dashboard.py
else else
cd /opt/monit-dashboard cd /opt/monit-dashboard