title: ERROR: CANT_REREAD: The directory named as part of the path /home/app/logs/celery.log does not exist
body: <p>I'm following a <a href="https://simpleisbetterthancomplex.com/tutorial/2017/08/20/how-to-use-celery-with-django.html#managing-the-worker-process-in-production-with-supervisord" rel="nofollow noreferrer">tutorial on how to use Celery on my Django production server</a>.</p>
  
  <p>When I get to the bit where it says:</p>
  
  <pre><code>Now reread the configuration and add the new process:
  
      sudo supervisorctl reread
      sudo supervisorctl update 
  </code></pre>
  
  <p>When I perform <code>sudo supervisorctl reread</code> in my server (Ubuntu 16.04) terminal, it returns this:</p>
  
  <pre><code>ERROR: CANT_REREAD: 
  The directory named as part of the path /home/app/logs/celery.log does not exist. 
  in section 'app-celery' (file: '/etc/supervisor/conf.d/app-celery.conf')
  </code></pre>
  
  <p>I've done all of the instructions prior to this including installing <code>supervisor</code> as well as creating a file named mysite-celery.conf (<code>app-celery.conf</code>) in the folder: /etc/supervisor/conf.d</p>
  
  <p>If you're curious my app-celery.conf file looks like this:</p>
  
  <pre><code>[program:app-celery]
  command=/home/app/bin/celery worker -A draft1 --loglevel=INFO
  directory=/home/app/draft1
  user=zorgan
  numprocs=1
  stdout_logfile=/home/app/logs/celery.log
  stderr_logfile=/home/app/logs/celery.log
  autostart=true
  autorestart=true
  startsecs=10
  
  ; Need to wait for currently executing tasks to finish at shutdown.
  ; Increase this if you have very long running tasks.
  stopwaitsecs = 600
  
  stopasgroup=true
  
  ; Set Celery priority higher than default (999)
  ; so, if rabbitmq is supervised, it will start first.
  priority=1000
  </code></pre>
  
  <p>Any idea what the problem is?</p>