adding restart command
This commit is contained in:
parent
581db0b9d2
commit
5be6cadcf6
1 changed files with 10 additions and 0 deletions
10
lib/restart.sh
Executable file
10
lib/restart.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
wait 5
|
||||
if [ -f ../control.sh ]; then
|
||||
../control.sh restart
|
||||
elif [ -f ../bot.sh ]; then
|
||||
../bot.sh restart
|
||||
else
|
||||
../bot.py
|
||||
fi
|
||||
exit 0
|
Reference in a new issue