장고 서비스 배포하기 부분중

sudo systemctl start mysite.service 부분 실행하면 계속

Job for mysite.service failed because of unavailable resources or another system
error,
see "systemctl status mysite.service" and "journalctl -xe" for detail

이렇게 나옵니다 어떻게 해야하나요

mysite.service는 이렇게 작성했습니다

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

[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubunt/projects/mysite
EnvironmentFile=/home/ubuntu/venvs/mysite.env
ExecStart=/home/ubuntu/venvs/mysite/bin/gunicorn \
--workers 2 \
--bind unix:/tmp/gunicorn.sock \
djangoProject1.wsgi:application

[Install]
WantedBy=multi-user.target

dntjdgs 698

2021년 4월 25일 6:45 오후

목록으로
1개의 답변이 있습니다. 1 / 1 Page

WorkingDirectory=/home/ubunt/projects/mysite 에서 ubunt 철자가 틀린거 아닐까요?

박응용

2021년 4월 25일 10:35 오후

감사합니다 - dntjdgs님, 2021년 4월 26일 2:05 오전 추천 , 대댓글