Lines Matching defs:pidfile
32 * Usage: rarpd -a [-dfsv] [-t directory] [-P pidfile] [hostname]
33 * rarpd [-dfsv] [-t directory] [-P pidfile] interface [hostname]
106 static char *pidfile;
172 pidfile = pidfile_buf;
198 if (pidfile == NULL && ifname != NULL && aflag == 0) {
202 pidfile = pidfile_buf;
204 /* If pidfile == NULL, /var/run/<progname>.pid will be used. */
205 pidfile_fh = pidfile_open(pidfile, 0600, NULL);
207 logmsg(LOG_ERR, "Cannot open or create pidfile: %s",
208 (pidfile == NULL) ? "/var/run/rarpd.pid" : pidfile);
377 "usage: rarpd -a [-dfsv] [-t directory] [-P pidfile]",
378 " rarpd [-dfsv] [-t directory] [-P pidfile] interface");