/manage.py command using supervisor, is it possible? am I doing something wrong? The log file says that can't find command './manage.py'
[program:test3]
command=./manage.py test
directory=/var/www/my_venv
stdout_logfile=/var/log/test3.log
stderr_logfile=/var/log/test3.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs=600
If anyone else has this problem, supervisor does not work with ./manage.py for me but it works just fine with python manage.py
I changed ./manage.py to python manage.py and everything works.
PS: I did do chmod +x manage.py before trying ./manage.py for people who might think that maybe I didn't have the permissions in place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With