simple restart script to keep the bot alive
This commit is contained in:
parent
59cd8380d2
commit
3f205eaafa
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
|
while /bin/true;
|
||||||
|
do
|
||||||
|
sudo -u cloudbot ./cloudbot.py
|
||||||
|
sleep 10
|
||||||
|
done
|
||||||
|
|
Reference in New Issue