From 2d9de5b24674b84fcedbe69f73f2466cb02e2e3c Mon Sep 17 00:00:00 2001 From: yagop Date: Mon, 30 Jun 2014 13:14:01 +0200 Subject: [PATCH] conf --- README.md | 1 + etc/telegram.conf | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 etc/telegram.conf diff --git a/README.md b/README.md index 4afa565..1582475 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/etc/telegram.conf b/etc/telegram.conf new file mode 100644 index 0000000..288175a --- /dev/null +++ b/etc/telegram.conf @@ -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