File indexing completed on 2026-04-10 08:39:00
0001 import re
0002 import sys
0003
0004 from pandacommon.liveconfigparser.LiveConfigParser import (
0005 LiveConfigParser,
0006 expand_values,
0007 )
0008
0009 from . import config_utils
0010
0011
0012 tmpConf = LiveConfigParser()
0013
0014
0015 tmpConf.read("panda_server.cfg")
0016
0017
0018 tmpDict = getattr(tmpConf, "daemon", {})
0019
0020
0021 config_utils.load_config_map("daemon", tmpDict)
0022
0023
0024 tmpSelf = sys.modules[__name__]
0025 expand_values(tmpSelf, tmpDict)
0026
0027
0028 if "enable" not in tmpSelf.__dict__:
0029 tmpSelf.__dict__["enable"] = False