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