poprawka bledu

This commit is contained in:
Mateusz Gruszczyński
2025-08-29 12:13:06 +02:00
parent 9546bb4edb
commit eac2002f56
2 changed files with 15 additions and 5 deletions

View File

@@ -6,14 +6,11 @@ Wants=network-online.target
[Service]
User=www-data
Group=www-data
# główny katalog aplikacji
Environment="APP_DIR=/var/www/adlist_mikrotik"
WorkingDirectory=/var/www/adlist_mikrotik
EnvironmentFile=-/var/www/adlist_mikrotik/.env
Environment="PATH=${APP_DIR}/venv/bin"
Environment="PATH=/var/www/adlist_mikrotik/venv/bin"
ExecStart=${APP_DIR}/venv/bin/gunicorn \
ExecStart=/var/www/adlist_mikrotik/venv/bin/gunicorn \
-k uvicorn.workers.UvicornWorker \
--workers 4 \
--bind 127.0.0.1:8283 \