From a0eb176b6e0fdba96f5758b714d2c5ef01b0d4b5 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 25 Sep 2024 22:33:32 -0700 Subject: [PATCH] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index c426a52..b903a30 100755 --- a/install.sh +++ b/install.sh @@ -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