update to django 3.0 & asgi
This commit is contained in:
14
_systemd/bots-bot-worker.service
Normal file
14
_systemd/bots-bot-worker.service
Normal 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
|
Reference in New Issue
Block a user