From 2c7a753cb585b4b7584bd19070c44346bedb87e9 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 6 Nov 2025 21:34:57 -0800 Subject: [PATCH] Update install.sh --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fc29afb..1ed9e4f 100755 --- a/install.sh +++ b/install.sh @@ -456,6 +456,7 @@ if [[ $(echo "${embedded}" | grep -i "^n") ]]; then printf "List all timers: systemctl list-timers\n" >> install_notes.txt printf "View timer logs: journalctl -u mesh_bot_reporting.timer\n" >> install_notes.txt printf "*** Stay Up to date using 'bash update.sh' ***\n" >> install_notes.txt + printf "sudo ./update.sh && sudo -u meshbot ./launch.sh mesh_bot.py\n" >> install_notes.txt if [[ $(echo "${venv}" | grep -i "^y") ]]; then printf "\nFor running on venv, virtual launch bot with './launch.sh mesh' in path $program_path\n" >> install_notes.txt @@ -505,12 +506,14 @@ else printf "Check timer status: systemctl status mesh_bot_reporting.timer\n" >> install_notes.txt printf "List all timers: systemctl list-timers\n" >> install_notes.txt printf "*** Stay Up to date using 'bash update.sh' ***\n" >> install_notes.txt + printf "sudo ./update.sh && sudo -u meshbot ./launch.sh mesh_bot.py\n" >> install_notes.txt fi echo "----------------------------------------------" echo "Finalizing permissions..." echo "----------------------------------------------" - +export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt +export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt sudo chown -R "$bot_user:$bot_user" "$program_path/logs" sudo chown -R "$bot_user:$bot_user" "$program_path/data" sudo chown "$bot_user:$bot_user" "$program_path/config.ini"