Я пытался:
sudo service supervisor restart
Я получил:
Не удалось выполнить задание для supervisor.service, поскольку процесс управления завершился с кодом ошибки. Подробности смотрите в разделах "systemctl status supervisor.service" и "journalctl -xe".
Тогда я бегу:
systemctl status supervisor.service
Результат:
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'.