From f8cd51fe1663deb2899efea62fa7b1ada1a73aed Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Tue, 20 Nov 2018 22:54:19 +0300 Subject: [PATCH] configs --- logs/.gitkeep | 0 requirements.txt | 12 ++++++++++++ supervisor.conf | 9 +++++++++ 3 files changed, 21 insertions(+) create mode 100644 logs/.gitkeep create mode 100644 requirements.txt create mode 100644 supervisor.conf diff --git a/logs/.gitkeep b/logs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9978573 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,12 @@ +asn1crypto==0.24.0 +certifi==2018.10.15 +cffi==1.11.5 +cryptography==2.3.1 +FormEncode==1.3.1 +future==0.17.0 +idna==2.7 +pycparser==2.19 +PyDispatcher==2.0.5 +python-telegram-bot==11.1.0 +six==1.11.0 +SQLObject==3.7.0 diff --git a/supervisor.conf b/supervisor.conf new file mode 100644 index 0000000..d64fbdd --- /dev/null +++ b/supervisor.conf @@ -0,0 +1,9 @@ +[program:lono] +user = www-data +directory = /srv/apps/lono +command = /srv/apps/lono/venv/bin/python3 /srv/apps/lono/main.py +autostart = true +autorestart = true +stderr_logfile = /srv/apps/lono/logs/lono.log +stdout_logfile = /srv/apps/lono/logs/lono.log +stopsignal = INT