HomeSort by relevance Sort by last modified time
    Searched refs:pidfile (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/v8/tools/testrunner/server/
daemon.py 25 def __init__(self, pidfile, stdin='/dev/null',
30 self.pidfile = pidfile
73 # write pidfile
76 file(self.pidfile, 'w+').write("%s\n" % pid)
79 os.remove(self.pidfile)
85 # Check for a pidfile to see if the daemon already runs
87 pf = file(self.pidfile, 'r')
94 message = "pidfile %s already exist. Daemon already running?\n"
95 sys.stderr.write(message % self.pidfile)
    [all...]
main.py 47 def __init__(self, pidfile, root, stdin="/dev/null",
49 super(Server, self).__init__(pidfile, stdin, stdout, stderr)
  /external/wpa_supplicant_8/wpa_supplicant/examples/
udhcpd-p2p.conf 63 pidfile /var/run/udhcpd-wlan2.pid #default: /var/run/udhcpd.pid
  /external/chromium_org/third_party/skia/experimental/webtry/sys/
webtry_init 16 # in do_start() to add --make-pidfile, --background, and --chuid.
26 PIDFILE=/var/run/$NAME.pid
52 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --test > /dev/null \
54 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --exec $DAEMON -- \
72 start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAM
    [all...]
  /external/skia/experimental/webtry/sys/
webtry_init 16 # in do_start() to add --make-pidfile, --background, and --chuid.
26 PIDFILE=/var/run/$NAME.pid
52 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --test > /dev/null \
54 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --exec $DAEMON -- \
72 start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAM
    [all...]
  /external/chromium_org/net/tools/flip_server/
flip_in_mem_edsm_server.cc 106 static int OpenPidFile(const char* pidfile) {
111 fd = open(pidfile, O_RDWR | O_CREAT, 0600);
113 fprintf(stderr, "Could not open pid file '%s' for reading.\n", pidfile);
129 stderr, "Could not stat pid file '%s': %s\n", pidfile, strerror(errno));
136 pidfile,
201 "\t--pidfile=<filepath> (default /var/run/flip-server.pid)\n"
206 if (cl.HasSwitch("pidfile")) {
207 pidfile_fd = OpenPidFile(cl.GetSwitchValueASCII("pidfile").c_str());
209 pidfile_fd = OpenPidFile(PIDFILE);
419 unlink(PIDFILE);
    [all...]
  /external/fio/
server.c     [all...]
  /external/ppp/pppd/
main.c 855 FILE *pidfile; local
859 if ((pidfile = fopen(pidfilename, "w")) != NULL) {
860 fprintf(pidfile, "%d\n", pid);
861 (void) fclose(pidfile);
874 FILE *pidfile; local
881 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
882 fprintf(pidfile, "%d\n", pid);
884 fprintf(pidfile, "%s\n", ifname);
885 (void) fclose(pidfile);
    [all...]
  /external/dhcpcd/
dhcpcd.c 106 static char *pidfile; variable
145 if ((fp = fopen(pidfile, "r")) == NULL) {
209 unlink(pidfile);
212 free(pidfile);
    [all...]
  /external/dnsmasq/src/
dnsmasq.c 336 /* write pidfile _after_ forking ! */
339 FILE *pidfile; local
342 if ((pidfile = fopen(daemon->runfile, "w")))
344 fprintf(pidfile, "%d\n", (int) getpid());
345 fclose(pidfile);
796 die(_("failed to open pidfile %s: %s"), daemon->runfile, EC_FILE);
    [all...]
  /external/libsepol/tests/policies/test-cond/
refpolicy-base.conf 647 attribute pidfile;
866 type var_run_t, file_type, pidfile;
    [all...]

Completed in 1648 milliseconds