title: Ubuntu can't restart supervisor
body: <p>I tried: </p>
  
  <pre><code>sudo service supervisor restart
  </code></pre>
  
  <p>I got:</p>
  
  <blockquote>
    <p>Job for supervisor.service failed because the control process exited with error code. See "systemctl status supervisor.service" and "journalctl -xe" for details.</p>
  </blockquote>
  
  <p>Then I run:</p>
  
  <pre><code>systemctl status supervisor.service
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>supervisor.service - supervisord - Supervisor process control system
  Loaded: loaded (/etc/systemd/system/supervisor.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Sun 2018-04-29 13:37:02 EDT; 27s ago
  Docs: http://supervisord.org
  Process: 23929 ExecStart=/edx/app/supervisor/venvs/supervisor/bin/supervisord --configuration /edx/ap
  
  Apr 29 13:37:02 vu supervisord[23929]:     handlers.append(RotatingFileHandler(filename,'a',maxbytes,ba
  Apr 29 13:37:02 vu supervisord[23929]:   File "/edx/app/supervisor/venvs/supervisor/local/lib/python2.7
  Apr 29 13:37:02 vu supervisord[23929]:     FileHandler.__init__(self, filename, mode)
  Apr 29 13:37:02 vu supervisord[23929]:   File "/edx/app/supervisor/venvs/supervisor/local/lib/python2.7
  Apr 29 13:37:02 vu supervisord[23929]:     self.stream = open(filename, mode)
  Apr 29 13:37:02 vu supervisord[23929]: IOError: [Errno 13] Permission denied: '/edx/var/log/supervisor/
  Apr 29 13:37:02 vu systemd[1]: supervisor.service: Control process exited, code=exited status=1
  Apr 29 13:37:02 vu systemd[1]: Failed to start supervisord - Supervisor process control system.
  Apr 29 13:37:02 vu systemd[1]: supervisor.service: Unit entered failed state.
  Apr 29 13:37:02 vu systemd[1]: supervisor.service: Failed with result 'exit-code'.
  </code></pre>