aded restart
This commit is contained in:
parent
5be6cadcf6
commit
052a743147
2 changed files with 21 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
wait 5
|
||||
if [ -f ../control.sh ]; then
|
||||
../control.sh restart
|
||||
elif [ -f ../bot.sh ]; then
|
||||
../bot.sh restart
|
||||
sleep 5
|
||||
if [ -f ./control.sh ]; then
|
||||
./control.sh restart
|
||||
elif [ -f ./bot.sh ]; then
|
||||
./bot.sh restart
|
||||
else
|
||||
../bot.py
|
||||
./bot.py
|
||||
fi
|
||||
exit 0
|
Reference in a new issue