장고 서비스 배포하기 부분중
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 님 699
2021년 4월 25일 6:45 오후