simple restart script to keep the bot alive

This commit is contained in:
ChChBot admin 2015-02-18 23:01:52 +01:00
parent 59cd8380d2
commit 3f205eaafa
1 changed files with 9 additions and 0 deletions

9
restartcloudbot.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
cd $(dirname $0)
while /bin/true;
do
sudo -u cloudbot ./cloudbot.py
sleep 10
done