fix some issues raised https://github.com/SpudGunMan/meshing-around/issues/37 thankyou!
This commit is contained in:
SpudGunMan
2024-08-10 12:37:22 -07:00
parent 5c73e49610
commit bfa8aa0a86
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ After=network.target
[Service]
WorkingDirectory=/dir/
ExecStart=/usr/bin/python /dir/launch.sh mesh
ExecStart=/usr/bin/bash /dir/launch.sh mesh
# Disable Python's buffering of STDOUT and STDERR, so that output from the
# service shows up immediately in systemd's logs
+1 -1
View File
@@ -8,7 +8,7 @@ After=network.target
[Service]
WorkingDirectory=/dir/
ExecStart=/usr/bin/python /dir/launch.sh pong
ExecStart=/usr/bin/bash /dir/launch.sh pong
# Disable Python's buffering of STDOUT and STDERR, so that output from the
# service shows up immediately in systemd's logs
+2 -2
View File
@@ -14,9 +14,9 @@ fi
# launch the application
if [ "$1" == "pong" ]; then
python pong_bot.py
python3 pong_bot.py
elif [ "$1" == "mesh" ]; then
python mesh_bot.py
python3 mesh_bot.py
else
printf "\nPlease provide a bot to launch (pong/mesh)"
fi