Home | History | Annotate | Download | only in src

Lines Matching refs:pidfile

336       /* write pidfile _after_ forking ! */
339 FILE *pidfile;
342 if ((pidfile = fopen(daemon->runfile, "w")))
344 fprintf(pidfile, "%d\n", (int) getpid());
345 fclose(pidfile);
790 die(_("failed to open pidfile %s: %s"), daemon->runfile, EC_FILE);