conf
This commit is contained in:
parent
7ff28d06fb
commit
2d9de5b246
@ -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
9
etc/telegram.conf
Normal 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
|
Reference in New Issue
Block a user