update to django 3.0 & asgi

This commit is contained in:
2019-11-25 22:37:01 +03:00
parent 3f689da8ac
commit ec8f60876a
20 changed files with 259 additions and 86 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=bots telegram bots service
After=network.target
[Service]
Type=simple
User=http
Group=http
WorkingDirectory=/srv/apps/bots
ExecStart=/srv/apps/bots/venv/bin/python /srv/apps/bots/manage.py bot_worker
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target