diff --git a/bench/config/supervisor.py b/bench/config/supervisor.py index a1168d87..40b8a92f 100644 --- a/bench/config/supervisor.py +++ b/bench/config/supervisor.py @@ -66,9 +66,12 @@ def update_supervisord_conf(user): """From bench v5.0, we're moving to supervisor running as user""" from bench.config.production_setup import service - supervisord_conf = get_supervisord_conf() or "supervisord.conf" + supervisord_conf = get_supervisord_conf() section = "unix_http_server" + if not supervisord_conf: + return + config = configparser.ConfigParser() config.read(supervisord_conf) config[section]["chmod"] = "0760"