After running sudo supervisorctl update, got error like this:
supervisor: couldn't chdir to ~/coding/jolin: ENOENT
supervisor: child process was not spawned
supervisor: couldn't chdir to ~/coding/jolin: ENOENT
supervisor: child process was not spawned
supervisor: couldn't chdir to ~/coding/jolin: ENOENT
supervisor: child process was not spawned
supervisor: couldn't chdir to ~/coding/jolin: ENOENT
supervisor: child process was not spawned
How reproduce
jolin.conf
[program:jolin]
command=poetry run fastapi run --workers=1 --port=9170
user=wenping
directory=~/coding/%(program_name)s
stdout_logfile=/home/wenping/coding/%(program_name)s/supervisor.log
Error detail
After running
sudo supervisorctl update
, got error like this:How reproduce
numprocs=1 autostart=true startsecs=10 autorestart=true startretried=3 redirect_stderr=true stdout_logfile_maxbytes=20MB stdout_logfile_backups=20