def prepare_dirs(self):
        for fn in (self.pidfile, self.logfile):
            if not fn:
                continue
            parent = os.path.dirname(fn)
            if not os.path.exists(parent):
                os.makedirs(parent)
                self.chown(parent)
Internally sets the name of the database to use
dataset/ETHPy150Open kiberpipa/Intranet/pipa/ltsp/src/ltsp_usage_monitor/daemon.py/Daemon.prepare_dirs--crossover with--dataset/ETHPy150Open mekarpeles/waltz/waltz/__init__.py/User.change_db