def METHOD_NAME(self, name, cmd_args):
    entry = {
        'autostart': 'false',
        'autorestart': 'false',
        'environment': 'TZ=UTC',
        'stdout_logfile': "logs/%s.log" % name,
        'redirect_stderr': True,
        'startretries': 0,
        'startsecs': 5,
        'priority': 100,
        'command': ' '.join(shlex.quote(a) for a in cmd_args),
    }
    if name == "dispatcher":
        entry['startsecs'] = 1
        entry['priority'] = 50
    return entry