Files
tello-commander/scripts/constant_pull.sh
ALIHAN DIKEL 62ed5047c0 autocommit
2024-10-27 23:51:45 +03:00

13 lines
400 B
Bash
Executable File

#!/bin/bash
while true; do
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
grc git pull origin refactor/v2 --no-rebase
# echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
# grc sudo supervisorctl restart tello-server
echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..."
sleep 5
done