adding server script
This commit is contained in:
parent
f6a2e30ce0
commit
daff5c46ca
1 changed files with 9 additions and 0 deletions
9
serve.sh
Executable file
9
serve.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
while [ 1 ]
|
||||||
|
do
|
||||||
|
echo "Starting server."
|
||||||
|
python brain.py
|
||||||
|
echo "Server died.\nSleeping for 5 seconds."
|
||||||
|
sleep 5
|
||||||
|
done
|
Loading…
Reference in a new issue