Lines Matching refs:cfgfile
525 const char** cfgfile, int need_pidfile)
636 if(strncmp(*cfgfile, cfg->chrootdir,
638 (*cfgfile) += strlen(cfg->chrootdir);
655 (void)cfgfile;
711 daemon->cfgfile = strdup(*cfgfile);
712 if(!daemon->cfgfile)
713 fatal_exit("out of memory in daemon cfgfile strdup");
718 * @param cfgfile: the config file name.
725 run_daemon(const char* cfgfile, int cmdline_verbose, int debug_mode, int need_pidfile)
741 if(!config_read(cfg, cfgfile, daemon->chroot)) {
746 "or unbound-checkconf", cfgfile);
758 perform_setup(daemon, cfg, debug_mode, &cfgfile, need_pidfile);
807 const char* cfgfile = CONFIGFILE;
827 cfgfile = optarg;
860 wsvc_command_option(winopt, cfgfile, cmdline_verbose,
872 run_daemon(cfgfile, cmdline_verbose, debug_mode, need_pidfile);