My daphne.service can’t access ‘/home/django/projects/venv/bin/daph>’ which I assume is a truncation of daphne. I have confirmed the file is there. Any suggestions?
Jul 14 14:34:54 ubuntu-s-1vcpu-1gb-sfo3-01 systemd[1]: Started daphne.service - WebSocket Daphne Service.
Jul 14 14:34:54 ubuntu-s-1vcpu-1gb-sfo3-01 python[3143]: /home/django/projects/venv/bin/python: can't open file '/home/django/projects/venv/bin/daph>
Jul 14 14:34:54 ubuntu-s-1vcpu-1gb-sfo3-01 systemd[1]: daphne.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
daphne.service
[Unit]
Description=WebSocket Daphne Service
After=network.target
[Service]
Type=simple
User=django
WorkingDirectory=/home/django/projects/mysite
ExecStart=/home/django/projects/venv/bin/python /home/django/projects/venv/bin/daphne -b 0.0.0.0 -e ssl:8001:privateKey=/etc/letsencrypt/live/www.ke>
Restart=on-failure
[Install]
WantedBy=multi-user.target