/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/dropbear/debian/ |
dropbear.init | 34 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ 41 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
/external/dropbear/ |
svr-main.c | 120 FILE *pidfile = NULL; local 154 pidfile = fopen(svr_opts.pidfile, "w"); 155 if (pidfile) { 156 fprintf(pidfile, "%d\n", getpid()); 157 fclose(pidfile); 197 unlink(svr_opts.pidfile);
|
runopts.h | 87 char * pidfile; member in struct:svr_runopts
|
svr-runopts.c | 78 "-P PidFile Create pid file PidFile\n" 114 svr_opts.pidfile = DROPBEAR_PIDFILE; 196 next = &svr_opts.pidfile;
|
/external/openssh/regress/ |
cfgmatch.sh | 6 pidfile=$OBJ/remote_pid 15 rm -f $pidfile 17 exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' \ 22 while test ! -f $pidfile ; do 34 pid=`cat $pidfile`
|
Makefile | 70 authorized_keys_${USER} known_hosts pidfile \
|
test-exec.sh | 169 if [ -f $PIDFILE ]; then 170 pid=`$SUDO cat $PIDFILE` 180 while [ -f $PIDFILE -a $i -lt 5 ]; do 184 test -f $PIDFILE && \ 241 PIDFILE=$OBJ/pidfile 253 PidFile $PIDFILE 384 while [ ! -f $PIDFILE -a $i -lt 10 ]; do 389 test -f $PIDFILE || fatal "no sshd running on port $PORT [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
run-blink-websocketserver | 68 option_parser.add_option('--pidfile', help='path to pid file.') 96 if options.pidfile: 97 kwds['pidfile'] = options.pidfile
|
/external/chromium/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 115 static int OpenPidFile(const char *pidfile) 121 fd = open(pidfile, O_RDWR | O_CREAT, 0600); 123 cerr << "Could not open pid file '" << pidfile << "' for reading.\n"; local 138 cerr << "Could not stat pid file '" << pidfile << "': " << strerror(errno) 143 cerr << "Could not truncate pid file '" << pidfile << "': " 207 cout << "\t--pidfile=<filepath> (default /var/run/flip-server.pid)\n"; 212 if (cl.HasSwitch("pidfile")) { 213 pidfile_fd = OpenPidFile(cl.GetSwitchValueASCII("pidfile").c_str()); 215 pidfile_fd = OpenPidFile(PIDFILE); 409 unlink(PIDFILE); [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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ |
websocket_server.py | 54 pidfile=None): 62 self._pid_file = pidfile
|
/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/libppp/src/ |
bundle.c | 672 char pidfile[PATH_MAX]; local 674 snprintf(pidfile, sizeof pidfile, "%stun%d.pid", _PATH_VARRUN, bundle->unit); 675 lockfile = ID0fopen(pidfile, "w"); 683 pidfile, strerror(errno)); 690 char pidfile[PATH_MAX]; local 692 snprintf(pidfile, sizeof pidfile, "%stun%d.pid", _PATH_VARRUN, bundle->unit); 693 ID0unlink(pidfile); [all...] |
/external/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | 647 attribute pidfile; 866 type var_run_t, file_type, pidfile; [all...] |