Update install.sh

This commit is contained in:
SpudGunMan
2024-09-25 22:33:32 -07:00
parent a43774b33f
commit a0eb176b6e
+4 -4
View File
@@ -58,13 +58,13 @@ if [ $venv == "y" ]; then
fi
# config service files for virtual environment
replace="python3 mesh_bot.py|/dir/launch.sh mesh"
replace="s|python3 mesh_bot.py|/dir/launch.sh mesh|g"
sed -i $replace etc/mesh_bot.service
replace="python3 pong_bot.py|/dir/launch.sh pong"
replace="s|python3 pong_bot.py|/dir/launch.sh pong|g"
sed -i $replace etc/pong_bot.service
replace="pkill -f mesh_bot.py|pkill -f launch.sh"
replace="s|pkill -f mesh_bot.py|pkill -f launch.sh|g"
sed -i $replace etc/mesh_bot.service
replace="pkill -f pong_bot.py|pkill -f launch.sh"
replace="s|pkill -f pong_bot.py|pkill -f launch.sh|g"
sed -i $replace etc/pong_bot.service
# install dependencies