saturn_cli/serverbot.sh

8 lines
152 B
Bash
Raw Normal View History

2024-01-20 14:22:00 +01:00
if [[ -f /tmp/serverbot.running ]] ; then
exit
fi
touch /tmp/serverbot.running
cd /opt/saturn_cli
python3 serverbot.py
rm -f /tmp/serverbot.running