Gunicorn.service: Failed execute command: No such file or directory

I change my gunicorn.service from :

/var/www/django/myprojectdir/myprojectenv/Scripts/gunicorn \
...

to :

/var/www/django/myprojectdir/myprojectenv/bin/gunicorn \
...

then i get this error :

gunicorn.service: Failed to execute command: No such file or directory
gunicorn.service: Failed at step EXEC spawning /var/www/django/myproject/myprojectenv/Scripts/gunicorn: No such file or directory

i already do

sudo systemctl daemon-reload
sudo systemctl restart gunicorn

but, still the same error

Back to Top