Home
last modified time | relevance | path

Searched refs:pidf (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/dports/security/openvpn/openvpn-2.5.6/contrib/
H A Dmultilevel-init.patch26 if [ -s $pidf ]; then
27 kill `cat $pidf` >/dev/null 2>&1
49 + for pidf in `find $piddir -name "*.pid" 2>/dev/null`; do
50 if [ -s $pidf ]; then
51 kill `cat $pidf` >/dev/null 2>&1
59 if [ -s $pidf ]; then
60 kill -HUP `cat $pidf` >/dev/null 2>&1
68 if [ -s $pidf ]; then
69 kill -USR1 `cat $pidf` >/dev/null 2>&1
77 if [ -s $pidf ]; then
[all …]
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/contrib/
H A Dmultilevel-init.patch26 if [ -s $pidf ]; then
27 kill `cat $pidf` >/dev/null 2>&1
49 + for pidf in `find $piddir -name "*.pid" 2>/dev/null`; do
50 if [ -s $pidf ]; then
51 kill `cat $pidf` >/dev/null 2>&1
59 if [ -s $pidf ]; then
60 kill -HUP `cat $pidf` >/dev/null 2>&1
68 if [ -s $pidf ]; then
69 kill -USR1 `cat $pidf` >/dev/null 2>&1
77 if [ -s $pidf ]; then
[all …]
/dports/security/openvpn-mbedtls/openvpn-2.5.6/contrib/
H A Dmultilevel-init.patch26 if [ -s $pidf ]; then
27 kill `cat $pidf` >/dev/null 2>&1
49 + for pidf in `find $piddir -name "*.pid" 2>/dev/null`; do
50 if [ -s $pidf ]; then
51 kill `cat $pidf` >/dev/null 2>&1
59 if [ -s $pidf ]; then
60 kill -HUP `cat $pidf` >/dev/null 2>&1
68 if [ -s $pidf ]; then
69 kill -USR1 `cat $pidf` >/dev/null 2>&1
77 if [ -s $pidf ]; then
[all …]
/dports/sysutils/cmogstored/cmogstored-1.8.1/test/
H A Dmgmt-usage.rb24 pidf = "#@tmpdir/pid"
28 @cmd << "--pidfile=#{pidf}"
35 pid = File.read(pidf).to_i
44 assert ! File.exist?(pidf), "pidfile=#{pidf} exists"
62 pidf = "#@tmpdir/pid"
65 File.open(pidf, "w") { |fp| fp.write("#$$\n") }
66 @cmd << "--pidfile=#{pidf}"
69 assert_equal "#$$\n", File.read(pidf)
/dports/security/gnome-ssh-askpass/openssh-6.6p1/contrib/caldera/
H A Dsshd.init28 [ -z "$1" ] || local pidf="$1"
31 if [ -n "$pidf" ] && [ -r "$pidf" ]; then
32 pid=$(head -1 $pidf)
40 elif [ -n "$pidf" -a ! -f "$pidf" ] || [ -z "$pid" ]; then
/dports/net/pjsip/pjproject-2.11.1/pjsip/src/pjsip-simple/
H A Dpresence_body.c71 pjpidf_pres *pidf; in pjsip_pres_create_pidf() local
76 pidf = pjpidf_create(pool, entity); in pjsip_pres_create_pidf()
100 pidf_tuple = pjpidf_pres_add_tuple(pool, pidf, &id); in pjsip_pres_create_pidf()
148 pjrpid_add_element(pidf, pool, 0, &status->info[0].rpid); in pjsip_pres_create_pidf()
152 body->data = pidf; in pjsip_pres_create_pidf()
220 pjpidf_pres *pidf; in pjsip_pres_parse_pidf2() local
223 pidf = pjpidf_parse(pool, body, body_len); in pjsip_pres_parse_pidf2()
224 if (pidf == NULL) in pjsip_pres_parse_pidf2()
229 pidf_tuple = pjpidf_pres_get_first_tuple(pidf); in pjsip_pres_parse_pidf2()
252 pidf_tuple = pjpidf_pres_get_next_tuple( pidf, pidf_tuple ); in pjsip_pres_parse_pidf2()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/lost/
H A Dfunctions.c429 str pidf = {NULL, 0}; in lost_function() local
482 if(pidf.len == 0) { in lost_function()
579 if(pidf.len == 0) { in lost_function()
584 LM_DBG("pidf-lo: [%.*s]\n", pidf.len, pidf.s); in lost_function()
587 doc = xmlReadMemory(pidf.s, pidf.len, 0, NULL, in lost_function()
591 LM_WARN("invalid xml (pidf-lo): [%.*s]\n", pidf.len, pidf.s); in lost_function()
592 doc = xmlRecoverMemory(pidf.s, pidf.len); in lost_function()
595 pidf.s); in lost_function()
622 pidf.len, pidf.s); in lost_function()
627 pidf.s = NULL; in lost_function()
[all …]
H A DREADME33 4.1. lost_held_query(con, [id,] pidf-lo, url, error)
34 4.2. lost_query(con, [pidf-lo, urn,] uri, name, error)
65 4.1. lost_held_query(con, [id,] pidf-lo, url, error)
66 4.2. lost_query(con, [pidf-lo, urn,] uri, name, error)
187 4.1. lost_held_query(con, [id,] pidf-lo, url, error)
188 4.2. lost_query(con, [pidf-lo, urn,] uri, name, error)
190 4.1. lost_held_query(con, [id,] pidf-lo, url, error)
222 r(pidf)");
226 r(pidf)\n");
229 4.2. lost_query(con, [pidf-lo, urn,] uri, name, error)
[all …]
/dports/sysutils/nut/nut-2.7.4/common/
H A Dcommon.c210 FILE *pidf; in writepid() local
220 pidf = fopen(fn, "w"); in writepid()
222 if (pidf) { in writepid()
224 fclose(pidf); in writepid()
236 FILE *pidf; in sendsignalfn() local
240 if (!pidf) { in sendsignalfn()
247 fclose(pidf); in sendsignalfn()
255 fclose(pidf); in sendsignalfn()
264 fclose(pidf); in sendsignalfn()
273 fclose(pidf); in sendsignalfn()
[all …]
/dports/databases/postgresql-repmgr/repmgr-5.2.0/
H A Ddirutil.c233 FILE *pidf; in is_pg_running() local
240 pidf = fopen(pid_file, "r"); in is_pg_running()
241 if (pidf == NULL) in is_pg_running()
267 if (fscanf(pidf, "%ld", &pid) != 1) in is_pg_running()
270 if (ftell(pidf) == 0 && feof(pidf)) in is_pg_running()
279 fclose(pidf); in is_pg_running()
284 fclose(pidf); in is_pg_running()
/dports/sysutils/uptimed/uptimed-0.4.6/src/
H A Duptimed.c66 FILE *pidf; in main() local
69 pidf = fopen(pidfile, "r"); in main()
70 if(pidf) { in main()
73 if(!fscanf(pidf, "%d", &pid)) in main()
75 fclose(pidf); in main()
116 FILE *pidf; in main() local
118 pidf = fopen(pidfile, "w"); in main()
119 if(pidf) in main()
121 fprintf(pidf, "%d", getpid()); in main()
122 fclose(pidf); in main()
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/network/
H A Dnsd3111 pidf = open(PID_FILE, 'r')
112 pidn = pidf.read()
113 pidf.close();
183 pidf = open(PID_FILE, 'r')
184 pidn = pidf.read()
185 pidf.close();
/dports/sysutils/nut-devel/nut-9e6a5ab2/common/
H A Dcommon.c241 FILE *pidf; in writepid() local
251 pidf = fopen(fn, "w"); in writepid()
253 if (pidf) { in writepid()
255 fclose(pidf); in writepid()
267 FILE *pidf; in sendsignalfn() local
272 if (!pidf) { in sendsignalfn()
279 fclose(pidf); in sendsignalfn()
294 fclose(pidf); in sendsignalfn()
303 fclose(pidf); in sendsignalfn()
312 fclose(pidf); in sendsignalfn()
[all …]
/dports/net-mgmt/nfdump/nfdump-1.6.20/extra/nftrack/
H A Dnftrack.c107 int pidf; in CheckRunningOnce() local
111 pidf = open(pidfile, O_RDONLY, 0); in CheckRunningOnce()
112 if ( pidf > 0 ) { in CheckRunningOnce()
116 len = read(pidf, (void *)s, 31); in CheckRunningOnce()
117 close(pidf); in CheckRunningOnce()
142 pidf = open(pidfile, O_RDWR|O_TRUNC|O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in CheckRunningOnce()
143 if ( pidf == -1 ) { in CheckRunningOnce()
148 if ( write(pidf, pidstr, strlen(pidstr)) <= 0 ) { in CheckRunningOnce()
151 close(pidf); in CheckRunningOnce()
/dports/dns/bind916/bind-9.16.27/bin/tests/system/nsupdate/ans4/
H A Dans.pl37 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
38 print $pidf "$$\n" or die "cannot write pid file: $!";
39 $pidf->close or die "cannot close pid file: $!";;
/dports/dns/bind911/bind-9.11.37/bin/tests/system/nsupdate/ans4/
H A Dans.pl35 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
36 print $pidf "$$\n" or die "cannot write pid file: $!";
37 $pidf->close or die "cannot close pid file: $!";;
/dports/dns/samba-nsupdate/bind-9.16.5/bin/tests/system/nsupdate/ans4/
H A Dans.pl35 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
36 print $pidf "$$\n" or die "cannot write pid file: $!";
37 $pidf->close or die "cannot close pid file: $!";;
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/bin/tests/system/nsupdate/ans4/
H A Dans.pl35 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
36 print $pidf "$$\n" or die "cannot write pid file: $!";
37 $pidf->close or die "cannot close pid file: $!";;
/dports/dns/bind-tools/bind-9.16.27/bin/tests/system/nsupdate/ans4/
H A Dans.pl37 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
38 print $pidf "$$\n" or die "cannot write pid file: $!";
39 $pidf->close or die "cannot close pid file: $!";;
/dports/dns/bind911/bind-9.11.37/bin/tests/system/tsig/ans2/
H A Dans.pl25 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
26 print $pidf "$$\n" or die "cannot write pid file: $!";
27 $pidf->close or die "cannot close pid file: $!";
/dports/dns/bind916/bind-9.16.27/bin/tests/system/tsig/ans2/
H A Dans.pl27 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
28 print $pidf "$$\n" or die "cannot write pid file: $!";
29 $pidf->close or die "cannot close pid file: $!";
/dports/dns/bind-tools/bind-9.16.27/bin/tests/system/tsig/ans2/
H A Dans.pl27 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
28 print $pidf "$$\n" or die "cannot write pid file: $!";
29 $pidf->close or die "cannot close pid file: $!";
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/bin/tests/system/tsig/ans2/
H A Dans.pl25 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
26 print $pidf "$$\n" or die "cannot write pid file: $!";
27 $pidf->close or die "cannot close pid file: $!";
/dports/dns/bind911/bind-9.11.37/bin/tests/system/digdelv/ans7/
H A Dans.pl23 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
24 print $pidf "$$\n" or die "cannot write pid file: $!";
25 $pidf->close or die "cannot close pid file: $!";
/dports/dns/bind916/bind-9.16.27/bin/tests/system/digdelv/ans7/
H A Dans.pl25 my $pidf = new IO::File "ans.pid", "w" or die "cannot open pid file: $!";
26 print $pidf "$$\n" or die "cannot write pid file: $!";
27 $pidf->close or die "cannot close pid file: $!";

12345678910>>...13