Searched refs:pidfile (Results 1 – 19 of 19) sorted by relevance
/xen/tools/console/daemon/ |
A D | main.c | 118 char *pidfile = NULL; in main() local 152 pidfile = strdup(optarg); in main() 202 daemonize(pidfile ? pidfile : XEN_RUN_DIR "/xenconsoled.pid"); in main() 212 free(pidfile); in main()
|
A D | utils.c | 46 void daemonize(const char *pidfile) in daemonize() argument 84 fd = open(pidfile, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR); in daemonize()
|
A D | utils.h | 31 void daemonize(const char *pidfile);
|
/xen/tools/xenstore/ |
A D | xenstored_posix.c | 30 void write_pidfile(const char *pidfile) in write_pidfile() argument 36 fd = open(pidfile, O_RDWR | O_CREAT, 0600); in write_pidfile() 38 barf_perror("Opening pid file %s", pidfile); in write_pidfile() 46 barf_perror("Writing pid file %s", pidfile); in write_pidfile()
|
A D | xenstored_minios.c | 23 void write_pidfile(const char *pidfile) in write_pidfile() argument
|
A D | xenstored_core.h | 212 void write_pidfile(const char *pidfile);
|
A D | xenstored_core.c | 1993 const char *pidfile = NULL; in main() local 2007 pidfile = optarg; in main() 2067 if (pidfile) in main() 2068 write_pidfile(pidfile); in main()
|
/xen/tools/ocaml/xenstored/ |
A D | parse_arg.ml | 24 pidfile: string option; (* old xenstored compatibility *) RecordField 32 let pidfile = ref "" and tracefile = ref "" (* old xenstored compatibility *) 53 ("--pid-file", Arg.Set_string pidfile, ""); (* for compatibility *) 67 pidfile = if !pidfile <> "" then Some !pidfile else None;
|
A D | xenstored.ml | 91 let pidfile = ref default_pidfile in 123 ("pid-file", Config.Set_string pidfile); 135 !pidfile 234 let pidfile = 242 Unixext.mkdir_rec (Filename.dirname pidfile) 0o755 261 (try Unixext.pidfile_write pidfile with _ -> ()); 264 begin match cf.pidfile with 265 | Some pidfile -> Unixext.pidfile_write pidfile
|
A D | stdext.ml | 115 (** write a pidfile file *)
|
/xen/tools/xenbackendd/ |
A D | xenbackendd.c | 63 const char *pidfile = NULL; variable 174 pidfile = optarg; in main() 185 if (pidfile == NULL) in main() 186 pidfile = PID_FILE; in main() 204 pidfile_f = fopen(pidfile, "w"); in main() 207 pidfile, strerror(errno)); in main()
|
/xen/tools/xl/ |
A D | xl_utils.c | 251 int do_daemonize(char *name, const char *pidfile) in do_daemonize() argument 288 if (pidfile) { in do_daemonize() 289 int fd = open(pidfile, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR); in do_daemonize()
|
A D | xl_misc.c | 180 const char *pidfile = NULL; in main_devd() local 192 pidfile = optarg; in main_devd() 197 ret = do_daemonize("xldevd", pidfile); in main_devd()
|
A D | xl_utils.h | 146 int do_daemonize(char *name, const char *pidfile);
|
/xen/tools/hotplug/NetBSD/rc.d/ |
A D | xendriverdomain.in | 33 ${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE ${XLDEVD_ARGS}
|
/xen/tools/hotplug/FreeBSD/rc.d/ |
A D | xendriverdomain.in | 30 PATH="${bindir}:${sbindir}:$PATH" ${sbindir}/xl devd --pidfile ${XLDEVD_PIDFILE} ${XLDEVD_ARGS}
|
/xen/tools/hotplug/Linux/init.d/ |
A D | xendriverdomain.in | 52 ${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE $XLDEVD_ARGS
|
A D | xencommons.in | 75 -pidfile $QEMU_PIDFILE
|
/xen/tools/hotplug/Linux/systemd/ |
A D | xen-qemu-dom0-disk-backend.service.in | 18 -pidfile @XEN_RUN_DIR@/qemu-dom0.pid
|
Completed in 15 milliseconds