go-pingbot/start.sh
Medzik 021fc6ea62 update
- updated bash scripts
- renamed env schema
- updated binary archive from tar.gz to tar.xz
- update workflows
2021-09-01 12:49:56 +00:00

23 lines
306 B
Bash
Executable file

#!/usr/bin/env bash
clear
# Colors
green="\e[0;92m"
red="\e[0;91m"
nc="\e[0m" # No Color
printf "${nc}[${green}Start${nc}]\n"
# Add permission and start
chmod +x pingbot.out
./pingbot.out
printf "${nc}[${red}END${nc}]\n"
# Wait 5 seconds
sleep 5
# Loop start e.g. on update => restart
bash start.sh