/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/main/ |
H A D | main.c | 469 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 483 pool_config->pid_file_name, strerror(errno)))); in get_pid_file_path() 496 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 517 pool_config->pid_file_name))); in read_pid_file() 531 pool_config->pid_file_name, strerror(errno)))); in read_pid_file() 539 pool_config->pid_file_name, strerror(errno)))); in read_pid_file() 560 pool_config->pid_file_name))); in write_pid_file() 568 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() 577 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() 585 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() [all …]
|
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/main/ |
H A D | main.c | 470 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 484 pool_config->pid_file_name, strerror(errno)))); in get_pid_file_path() 499 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 520 pool_config->pid_file_name))); in read_pid_file() 534 pool_config->pid_file_name, strerror(errno)))); in read_pid_file() 542 pool_config->pid_file_name, strerror(errno)))); in read_pid_file() 563 pool_config->pid_file_name))); in write_pid_file() 571 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() 580 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() 588 pool_config->pid_file_name, strerror(errno)))); in write_pid_file() [all …]
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/main/ |
H A D | main.c | 564 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 578 pool_config->pid_file_name), in get_pid_file_path() 594 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 616 pool_config->pid_file_name))); in read_pid_file() 630 pool_config->pid_file_name), in read_pid_file() 639 pool_config->pid_file_name), in read_pid_file() 662 pool_config->pid_file_name))); in write_pid_file() 670 pool_config->pid_file_name), in write_pid_file() 680 pool_config->pid_file_name), in write_pid_file() 689 pool_config->pid_file_name), in write_pid_file() [all …]
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/main/ |
H A D | main.c | 547 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 561 pool_config->pid_file_name), in get_pid_file_path() 577 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 599 pool_config->pid_file_name))); in read_pid_file() 613 pool_config->pid_file_name), in read_pid_file() 622 pool_config->pid_file_name), in read_pid_file() 645 pool_config->pid_file_name))); in write_pid_file() 653 pool_config->pid_file_name), in write_pid_file() 663 pool_config->pid_file_name), in write_pid_file() 672 pool_config->pid_file_name), in write_pid_file() [all …]
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/main/ |
H A D | main.c | 554 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 568 pool_config->pid_file_name), in get_pid_file_path() 584 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 606 pool_config->pid_file_name))); in read_pid_file() 620 pool_config->pid_file_name), in read_pid_file() 629 pool_config->pid_file_name), in read_pid_file() 652 pool_config->pid_file_name))); in write_pid_file() 660 pool_config->pid_file_name), in write_pid_file() 670 pool_config->pid_file_name), in write_pid_file() 679 pool_config->pid_file_name), in write_pid_file() [all …]
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/main/ |
H A D | main.c | 563 if (!is_absolute_path(pool_config->pid_file_name)) in get_pid_file_path() 577 pool_config->pid_file_name), in get_pid_file_path() 593 new = pstrdup(pool_config->pid_file_name); in get_pid_file_path() 615 pool_config->pid_file_name))); in read_pid_file() 629 pool_config->pid_file_name), in read_pid_file() 638 pool_config->pid_file_name), in read_pid_file() 661 pool_config->pid_file_name))); in write_pid_file() 669 pool_config->pid_file_name), in write_pid_file() 679 pool_config->pid_file_name), in write_pid_file() 688 pool_config->pid_file_name), in write_pid_file() [all …]
|
/dports/sysutils/ipa/ipa-2.1.2/src/ |
H A D | ipa.c | 129 pid_file_name); in unlink_pid_file() 130 if (unlink(pid_file_name) < 0) in unlink_pid_file() 132 pid_file_name); in unlink_pid_file() 402 fd = open(pid_file_name, O_RDONLY); in sendsig() 441 pid_file_name); in sendsig() 676 pid_file_name); in create_pid_file() 690 lock.l_type, pid_file_name); in create_pid_file() 720 pid_file_name); in lock_pid_file() 727 pid_file_name); in lock_pid_file() 1293 pid_file_name = optarg; in main() [all …]
|
/dports/japanese/ebnetd/ebnetd-1.0/ndtpd/ |
H A D | ndtpcontrol.c | 272 if (probe_pid_file(pid_file_name) < 0) { 274 pid_file_name); 279 if (read_pid_file(pid_file_name, &pid) < 0) 287 pid_file_name); 308 if (remove_pid_file(pid_file_name) < 0)
|
/dports/japanese/ebnetd/ebnetd-1.0/ebhttpd/ |
H A D | ebhtcontrol.c | 272 if (probe_pid_file(pid_file_name) < 0) { 274 pid_file_name); 279 if (read_pid_file(pid_file_name, &pid) < 0) 287 pid_file_name); 308 if (remove_pid_file(pid_file_name) < 0)
|
/dports/japanese/ebnetd/ebnetd-1.0/ebnetd/ |
H A D | ebncontrol.c | 272 if (probe_pid_file(pid_file_name) < 0) { 274 pid_file_name); 279 if (read_pid_file(pid_file_name, &pid) < 0) 287 pid_file_name); 308 if (remove_pid_file(pid_file_name) < 0)
|
/dports/japanese/p5-2chproxy/2chproxy.pl-1.0.1/ |
H A D | 2chproxy.pl | 119 my $pid_file_name; 237 "\t\t\tその時はrm ".$pid_file_name."してくれれば大丈夫なはず。\n" 266 if (open($lock_file, "<", $pid_file_name)) { 267 if (read($lock_file, $pid, -s $pid_file_name)) { 306 if (-f $pid_file_name) { 307 unlink($pid_file_name); 312 if (-f $pid_file_name) { 313 unlink($pid_file_name); 342 open($lock_file, ">", $pid_file_name) or die "cannot open pid file: ".$pid_file_name."\n"; 1397 if (-f $pid_file_name) { [all …]
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/callback/ |
H A D | callback.c | 114 char pid_file_name[ MAXPATH ]; variable 125 sprintf( pid_file_name, "%s/mgetty.pid.%s", VARRUNDIR, DevID ); 126 lprintf( L_NOISE, "find_mgetty: look in PID file %s", pid_file_name); 128 fp = fopen( pid_file_name, "r" ); 131 lprintf( L_ERROR, "can't read mgetty pid file %s", pid_file_name ); 137 lprintf( L_ERROR, "can't read mgetty pid from %s", pid_file_name );
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/contrib/ |
H A D | two-modems | 281 + (void) unlink( pid_file_name ); 356 + (void) unlink( pid_file_name ); 366 + (void) unlink( pid_file_name ); 376 + (void) unlink( pid_file_name ); 386 + (void) unlink( pid_file_name ); 396 + (void) unlink( pid_file_name ); 413 + (void) unlink( pid_file_name ); 423 + (void) unlink( pid_file_name ); 433 + (void) unlink( pid_file_name ); 456 + (void) unlink( pid_file_name ); [all …]
|
/dports/net/kea/kea-2.0.1/src/lib/process/ |
H A D | daemon.cc | 159 Daemon::setPIDFileName(const std::string& pid_file_name) { in setPIDFileName() argument 165 if (pid_file_name.empty()) { in setPIDFileName() 170 pid_file_.reset(new util::PIDFile(pid_file_name)); in setPIDFileName()
|
/dports/dns/dsc/dsc-2.11.1/src/ |
H A D | daemon.c | 85 char* pid_file_name = NULL; variable 145 if (!pid_file_name) in write_pid_file() 152 if ((fd = open(pid_file_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR)) == -1) { in write_pid_file() 153 …dsyslogf(LOG_ERR, "unable to open PID file %s: %s", pid_file_name, dsc_strerror(errno, errbuf, siz… in write_pid_file() 201 dsyslogf(LOG_INFO, "writing PID to %s", pid_file_name); in write_pid_file()
|
H A D | config_hooks.c | 217 extern char* pid_file_name; in set_pid_file() 219 if (pid_file_name) in set_pid_file() 220 xfree(pid_file_name); in set_pid_file() 221 pid_file_name = xstrdup(s); in set_pid_file() 222 if (NULL == pid_file_name) in set_pid_file()
|
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/redhat/ |
H A D | pgpool.conf.sample.patch | 38 pid_file_name = '/var/run/pgpool/pgpool.pid' 49 pid_file_name = '/var/run/pgpool/pgpool.pid'
|
/dports/security/autossh/autossh-1.4g/ |
H A D | autossh.c | 125 char *pid_file_name; /* path to pid file */ variable 474 if (pid_file_name) { in main() 475 pid_file = fopen(pid_file_name, "w"); in main() 478 pid_file_name, strerror(errno)); in main() 484 pid_file_name, strerror(errno)); in main() 682 pid_file_name = s; in get_env_args() 879 if (pid_file_name && in ssh_watch() 880 utimes(pid_file_name, NULL) != 0) { in ssh_watch() 1725 (void)unlink(pid_file_name); in unlink_pid_file()
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/ |
H A D | mgetty.c | 112 static char pid_file_name[ MAXPATH ]; variable 117 sprintf( pid_file_name, "%s/mgetty.pid.%s", VARRUNDIR, DevID ); in _P0() 119 fp = fopen( pid_file_name, "w" ); in _P0() 121 lprintf( L_ERROR, "can't create pid file %s", pid_file_name ); in _P0() 126 if ( chmod( pid_file_name, 0644 ) != 0 ) in _P0() 1067 (void) unlink( pid_file_name );
|
/dports/net/kea/kea-2.0.1/src/lib/process/tests/ |
H A D | daemon_unittest.cc | 262 std::string pid_file_name = instance->getPIDFileName(); in TEST_F() local 269 ASSERT_EQ(-1, stat(pid_file_name.c_str(), &stat_buf)); in TEST_F()
|