Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/fc8ddc3a7c252180f52a27118adf8a609faf63a8?style=split&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update pialert-install.sh

fix crontab
pull/1851/head
tteckster 2 years ago committed by GitHub
parent 3115e46e30
commit fc8ddc3a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,10 +72,7 @@ done
git config --global --add safe.directory /opt/pialert git config --global --add safe.directory /opt/pialert
sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf
sed -i 's/~/\/opt/g' /opt/pialert/install/pialert.cron sed -i 's/~/\/opt/g' /opt/pialert/install/pialert.cron
set +e
#(crontab -l 2>/dev/null; cat /opt/pialert/install/pialert.cron) | crontab -
crontab /opt/pialert/install/pialert.cron crontab /opt/pialert/install/pialert.cron
set -e
cp -R /opt/pialert/install/pialert_update.sh /usr/bin/update cp -R /opt/pialert/install/pialert_update.sh /usr/bin/update
sed -i 's/~/\/opt/g' /usr/bin/update sed -i 's/~/\/opt/g' /usr/bin/update
chmod +x /usr/bin/update chmod +x /usr/bin/update

Loading…
Cancel
Save

Powered by BW's shoe-string budget.