def _pre_startup(self, opts):
        required_general = [
            'sock_dir',
            'node',
            'max_workers',
            'id',
            'event_limit',
            'pidfile',
            'state_file',
            'state_timer',
            'dump_timer',
        ]

        for field in required_general:
            if field not in opts['general']:
                log.critical("Missing parameter " +
                             "'{0}' in configfile".format(field))
                sys.exit(1)
Does a startup-check if all needed parameters are
dataset/ETHPy150Open felskrone/salt-eventsd/salteventsd/daemon.py/SaltEventsDaemon._pre_startup