mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
chore: dont create supervisord conf if doesnt exist via
bench.config.supervisor.update_supervisord_conf
This commit is contained in:
parent
c1507c2848
commit
849c751e93
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user