This commit is contained in:
yagop 2014-06-30 13:14:01 +02:00
parent 7ff28d06fb
commit 2d9de5b246
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Bot for telegram with tg.
Read [tg](https://github.com/vysheng/tg) for compiling, then launch.
```bash
git submodule update --init --recursive
./launch.sh
```

9
etc/telegram.conf Normal file
View File

@ -0,0 +1,9 @@
respawn
respawn limit 15 5
start on runlevel [2345]
stop on shutdown
script
su - yperez -c /home/yperez/develop/telegram-bot/launch.sh > /dev/null
end script