Назад | Перейти на главную страницу

Файл gunicorn.sock не создается

Я пытаюсь настроить Gunicorn и Nginx, мой Nginx настроен правильно, а Gunicorn - нет. Я не могу создать файл "name" .sock.

[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After= network.target

[Service]
User=dexter
dexter=www-data
WorkingDirectory=/home/dexter/Documents/cpg_ad_tech/cpg_ad_tech ExecStart=/home/dexter/Documents/cpg_ad_tech/cpg_ad_tech_env/bin/gunicorn 
  --access-logfile - \
  --workers 3 \
  --bind unix:/home/dexter/Documents/cpg_ad_tech/cpg_ad_tech/cpg_ad_tech.sock \
  cpg_ad_tech.wsgi:application


[Install]
WantedBy=multi-user.target