Lines Matching refs:hc_pidfile
542 strcmp(cfg->hc_pidfile, newcfg->hc_pidfile) != 0) { in hastd_reload()
543 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid); in hastd_reload()
548 newcfg->hc_pidfile, (intmax_t)otherpid); in hastd_reload()
552 newcfg->hc_pidfile); in hastd_reload()
558 newcfg->hc_pidfile); in hastd_reload()
561 newcfg->hc_pidfile); in hastd_reload()
583 pjdlog_info("Pidfile changed from %s to %s.", cfg->hc_pidfile, in hastd_reload()
584 newcfg->hc_pidfile); in hastd_reload()
587 (void)strlcpy(cfg->hc_pidfile, newcfg->hc_pidfile, in hastd_reload()
588 sizeof(cfg->hc_pidfile)); in hastd_reload()
1245 if (strlcpy(cfg->hc_pidfile, pidfile, in main()
1246 sizeof(cfg->hc_pidfile)) >= sizeof(cfg->hc_pidfile)) { in main()
1252 pfh = pidfile_open(cfg->hc_pidfile, 0600, &otherpid); in main()
1257 cfg->hc_pidfile, (intmax_t)otherpid); in main()
1265 cfg->hc_pidfile); in main()
1318 cfg->hc_pidfile); in main()
1320 pjdlog_debug(1, "PID stored in %s.", cfg->hc_pidfile); in main()