Lines Matching defs:pidfile
30 * Usage: rarpd -a [-dfsv] [-t directory] [-P pidfile] [hostname]
31 * rarpd [-dfsv] [-t directory] [-P pidfile] interface [hostname]
104 static char *pidfile;
170 pidfile = pidfile_buf;
197 if (pidfile == NULL && ifname != NULL && aflag == 0) {
201 pidfile = pidfile_buf;
203 /* If pidfile == NULL, /var/run/<progname>.pid will be used. */
204 pidfile_fh = pidfile_open(pidfile, 0600, NULL);
206 logmsg(LOG_ERR, "Cannot open or create pidfile: %s",
207 (pidfile == NULL) ? "/var/run/rarpd.pid" : pidfile);
376 "usage: rarpd -a [-dfsv] [-t directory] [-P pidfile]",
377 " rarpd [-dfsv] [-t directory] [-P pidfile] interface");