Searched refs:pid_file (Results 1 – 1 of 1) sorted by relevance
464 static const char *pid_file; variable468 if (pid_file) { in write_pid_file()469 dbg("creating pid file %s", pid_file); in write_pid_file()472 fp = fopen(pid_file, "w"); in write_pid_file()475 pid_file, errno, strerror(errno)); in write_pid_file()485 if (pid_file) { in remove_pid_file()486 dbg("removing pid file %s", pid_file); in remove_pid_file()487 unlink(pid_file); in remove_pid_file()612 pid_file = NULL; in main()645 pid_file = optarg ? optarg : DEFAULT_PID_FILE; in main()