/dports/www/kannel/gateway-1.4.4/debian/ |
H A D | kannel-cvs.init | 30 --pidfile $PIDFILES/kannel_bearerbox.pid \ 34 --pidfile $PIDFILES/kannel_bearerbox.pid \ 41 --pidfile $PIDFILES/kannel_wapbox.pid \ 45 --pidfile $PIDFILES/kannel_wapbox.pid \ 52 --pidfile $PIDFILES/kannel_smsbox.pid \ 56 --pidfile $PIDFILES/kannel_smsbox.pid \ 68 --pidfile $PIDFILES/kannel_smsbox.pid \ 74 --pidfile $PIDFILES/kannel_wapbox.pid \ 79 --pidfile $PIDFILES/kannel_bearerbox.pid \
|
H A D | kannel-devel.init | 30 --pidfile $PIDFILES/kannel_bearerbox.pid \ 34 --pidfile $PIDFILES/kannel_bearerbox.pid \ 41 --pidfile $PIDFILES/kannel_wapbox.pid \ 45 --pidfile $PIDFILES/kannel_wapbox.pid \ 52 --pidfile $PIDFILES/kannel_smsbox.pid \ 56 --pidfile $PIDFILES/kannel_smsbox.pid \ 68 --pidfile $PIDFILES/kannel_smsbox.pid \ 74 --pidfile $PIDFILES/kannel_wapbox.pid \ 79 --pidfile $PIDFILES/kannel_bearerbox.pid \
|
/dports/sysutils/vector/vector-0.10.0/distribution/init.d/ |
H A D | vector | 32 pidfile=${PIDFILE-/var/run/vector.pid} 38 daemon --pidfile=${pidfile} --output=/var/log/vector.log $vector $OPTIONS 48 killproc -p ${pidfile} -d 10 $vector 57 killproc -p ${pidfile} $vector -HUP 72 status -p ${pidfile} $vector 80 if [ -f ${pidfile} ] ; then
|
/dports/comms/ncid/ncid/attic/ncidsip/ |
H A D | ncidsip.pl | 44 my $pidfile = ""; 63 "pidfile|p=s" => \$pidfile 89 if ($pidfile ne "") { 90 if (-e $pidfile) { 92 unless (open(PIDFILE, $pidfile)) { 93 die "pidfile exists and is unreadable: $pidfile\n"; 105 if (open(PIDFILE, ">$pidfile")) { 109 print "Wrote pid $pid in $pidfile\n" if $verbose; 322 if ($pid != 0) {unlink($pidfile);} 330 unlink($pidfile); [all …]
|
/dports/net/samba412/samba-4.12.15/ctdb/common/ |
H A D | pidfile.c | 31 const char *pidfile; member 38 int pidfile_context_create(TALLOC_CTX *mem_ctx, const char *pidfile, in pidfile_context_create() argument 49 pid_ctx->pidfile = talloc_strdup(pid_ctx, pidfile); in pidfile_context_create() 50 if (pid_ctx->pidfile == NULL) { in pidfile_context_create() 57 ret = pidfile_path_create(pid_ctx->pidfile, &fd); in pidfile_context_create() 80 (void) unlink(pid_ctx->pidfile); in pidfile_context_destructor()
|
/dports/devel/libvirt/libvirt-7.10.0/src/qemu/ |
H A D | qemu_virtiofs.c | 180 g_autofree char *pidfile = NULL; in qemuVirtioFSStart() local 238 virCommandSetPidFile(cmd, pidfile); in qemuVirtioFSStart() 255 rc = virPidFileReadPath(pidfile, &pid); in qemuVirtioFSStart() 259 pidfile); in qemuVirtioFSStart() 274 if (pidfile) in qemuVirtioFSStart() 275 unlink(pidfile); in qemuVirtioFSStart() 287 g_autofree char *pidfile = NULL; in qemuVirtioFSStop() local 295 if (!virFileExists(pidfile)) { in qemuVirtioFSStop() 296 g_free(pidfile); in qemuVirtioFSStop() 320 g_autofree char *pidfile = NULL; in qemuVirtioFSSetupCgroup() local [all …]
|
H A D | qemu_vhost_user_gpu.c | 74 g_autofree char *pidfile = NULL; in qemuVhostUserGPUGetPid() local 76 if (!(pidfile = qemuVhostUserGPUCreatePidFilename(stateDir, shortName, alias))) in qemuVhostUserGPUGetPid() 79 if (virPidFileReadPathIfAlive(pidfile, pid, binPath) < 0) in qemuVhostUserGPUGetPid() 110 g_autofree char *pidfile = NULL; in qemuExtVhostUserGPUStart() local 125 if (!(pidfile = qemuVhostUserGPUCreatePidFilename( in qemuExtVhostUserGPUStart() 145 virCommandSetPidFile(cmd, pidfile); in qemuExtVhostUserGPUStart() 173 rc = virPidFileReadPath(pidfile, &pid); in qemuExtVhostUserGPUStart() 177 pidfile); in qemuExtVhostUserGPUStart() 213 g_autofree char *pidfile = NULL; in qemuExtVhostUserGPUStop() local 218 if (!(pidfile = qemuVhostUserGPUCreatePidFilename( in qemuExtVhostUserGPUStop() [all …]
|
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/ |
H A D | main.c | 266 if (pidfile[0]=='\0') { in write_to_pidfile() 267 xfree((void *)pidfile); /* avoid warning */ in write_to_pidfile() 270 if (pidfile) { in write_to_pidfile() 274 if (!(fp = fopen(pidfile,"w"))) { in write_to_pidfile() 276 xfree((void *)pidfile); /* avoid warning */ in write_to_pidfile() 289 return pidfile; in write_to_pidfile() 462 char *pidfile; in server_main() local 493 pidfile = write_to_pidfile(); in server_main() 522 if (pidfile) { in server_main() 523 if (remove(pidfile)<0) in server_main() [all …]
|
/dports/net/quoted/quoted-1.01/ |
H A D | quoted.sh.rc.freebsd | 21 pidfile="/var/run/${name}.pid" 29 pid=$(check_pidfile ${pidfile} ${command}) 39 echo ${pid} >${pidfile} 41 pid=$(check_pidfile ${pidfile} ${command}) 43 echo "Warning: pid file ${pidfile} is corrupt." 63 pid=$(check_pidfile ${pidfile} ${command}) 65 echo ${name} not running? Check ${pidfile}
|
/dports/net/unfs3/unfs3-0.9.22/ |
H A D | unfsd.init | 18 pidfile="/var/run/unfsd.pid" 24 /usr/sbin/unfsd -i ${pidfile} 32 if [ -s ${pidfile} ]; then 33 pid=`cat ${pidfile}` 40 rm -f ${lockfile} ${pidfile} 43 if [ -s ${pidfile} ]; then 44 pid=`cat ${pidfile}`
|
/dports/sysutils/p5-Proc-PidUtil/Proc-PidUtil-0.09/t/ |
H A D | pu_pid.t | 58 my $pidfile = $path . $me . '.pid'; 61 unless ($_ = make_pidfile($pidfile)) == $pid; 65 print "missing pid file '$pidfile'\nnot " 66 unless -e $pidfile; 69 ## test 5 open pidfile 70 print "could not open $pidfile\nnot " 71 unless open(F,$pidfile); 84 unless ($_ = is_running($pidfile)) == $pid; 97 if ($_ = is_running($pidfile)); 108 if -e $pidfile; [all …]
|
/dports/net/dual-dhclient-daemon/dual-dhclient-0.1/ |
H A D | main.c | 42 daemonize(const char * pidfile) in daemonize() argument 64 if ((f = fopen(pidfile, "w")) == NULL) in daemonize() 72 killpidfile(const char * pidfile, int sig) in killpidfile() argument 78 if ((f = fopen(pidfile, "r")) == NULL) in killpidfile() 91 char * pidfile; in main() local 101 if (asprintf(&pidfile, "/var/run/dhclient/dhclient.%s.pid", argv[1]) < 0) in main() 129 daemonize(pidfile); in main() 144 unlink(pidfile); in main()
|
/dports/www/e2guardian/e2guardian-5.3.4/src/ |
H A D | SysV.hpp | 19 int sysv_kill(std::string pidfile, bool dounlink = true); 22 int sysv_showpid(std::string pidfile); 24 bool sysv_amirunning(std::string pidfile); 27 int sysv_openpidfile(std::string pidfile); 32 int sysv_hup(std::string pidfile); 33 int sysv_usr1(std::string pidfile);
|
/dports/net-mgmt/statsite/statsite-0.8.0/rpm/ |
H A D | statsite.initscript | 32 pidfile=${PIDFILE-/var/run/statsite/statsite.pid} 40 rm -f ${pidfile} 42 daemon --user ${user} --pidfile=${pidfile} ${statsite} -f ${conffile} 50 killproc -p ${pidfile} ${prog} 53 [ $RETVAL = 0 ] && rm -f ${pidfile} 57 status -p ${pidfile} ${statsite}
|
/dports/www/foswiki/Foswiki-2.1.6/bin/ |
H A D | foswiki.fcgi | 48 $listen, $nproc, $max, $size, $check, $pidfile, 60 'pidfile|p=s' => \$pidfile, 71 if ( defined $pidfile ) { 72 $pidfile =~ /^(.*)$/ and $pidfile = $1; 82 pidfile => $pidfile,
|
/dports/databases/memcached/memcached-1.6.12/scripts/ |
H A D | start-memcached | 25 my $pidfile = "/var/run/memcached.pid"; 29 $pidfile = shift(@ARGV); 88 if(-e $pidfile) 90 open PIDHANDLE, "$pidfile"; 100 unlink $pidfile; 115 if(open PIDHANDLE,">$pidfile") 121 print STDERR "Can't write pidfile to $pidfile.\n";
|
/dports/www/xist/ll-xist-5.34/src/ll/ |
H A D | daemon.py | 56 …def __init__(self, stdin="/dev/null", stdout="/dev/null", stderr="/dev/null", pidfile=None, user=N… argument 79 self.pidfile = pidfile 105 if self.pidfile is not None: 107 os.remove(self.pidfile) 169 if self.pidfile is not None: 170 with open(self.pidfile, "wb") as f: 184 if self.pidfile is None: 187 with open(self.pidfile, "rb") as f: 203 …ument("--pidfile", dest="pidfile", help="PID filename (default %(default)s)", default=self.pidfile) 221 self.pidfile = args.pidfile
|
/dports/www/htdigest/httpd-2.4.6/build/rpm/ |
H A D | htcacheclean.init | 51 pidfile=/var/run/${prog}.pid 59 …daemon --pidfile=${pidfile} $htcacheclean -d "$interval" -p "$cachepath" -l "$limit" -P "$pidfile"… 67 killproc -p ${pidfile} $htcacheclean 82 status -p ${pidfile} $htcacheclean 90 if status -p ${pidfile} $htcacheclean >&/dev/null; then
|
/dports/www/apache24/httpd-2.4.53/build/rpm/ |
H A D | htcacheclean.init | 51 pidfile=/var/run/${prog}.pid 59 …daemon --pidfile=${pidfile} $htcacheclean -d "$interval" -p "$cachepath" -l "$limit" -P "$pidfile"… 67 killproc -p ${pidfile} $htcacheclean 82 status -p ${pidfile} $htcacheclean 90 if status -p ${pidfile} $htcacheclean >&/dev/null; then
|
/dports/devel/p5-App-Control/App-Control-1.02/ |
H A D | test.pl | 24 my $pidfile = 'pids/test.pid'; 27 ARGS => [ $pidfile ], 28 PIDFILE => $pidfile, 51 unlink( $pidfile ) or die "Can't remove pidfile $pidfile\n"; 58 ARGS => [ $pidfile ], 59 PIDFILE => $pidfile,
|
/dports/sysutils/tenshi/tenshi-0.17/ |
H A D | tenshi.openrc-init | 10 pidfile="/run/tenshi.pid" 11 command_args="-c ${TENSHI_CFG} -P ${pidfile}" 47 start-stop-daemon --signal HUP --pidfile "${pidfile}" 53 start-stop-daemon --signal USR2 --pidfile "${pidfile}"
|
/dports/www/p5-FCGI-Engine/FCGI-Engine-0.22/lib/FCGI/Engine/ |
H A D | Manager.pm | 68 if (-e $server->pidfile) { 86 until (-e $server->pidfile) { 87 … $self->log("pidfile (" . $server->pidfile . ") does not exist yet ... (trying $count times)"); 95 …$self->log("pid (" . $pid->pid . ") with pid_file (" . $server->pidfile . ") is not running yet, s… 116 if (! -f $server->pidfile ) { 140 if (-f $server->pidfile) { 148 $self->log("pid (" . $server->pidfile . ") is still running, sleeping ..."); 179 unlink($server->pidfile); 188 while (-f $server->pidfile) { 189 $self->log("pid (" . $server->pidfile . ") has not been removed, sleeping ...");
|
/dports/devel/p5-Qudo/Qudo-0.0213/sample/init.d/ |
H A D | qudo-worker | 10 if $SSD --stop --quiet --pidfile $PIDFILE --signal 0 16 echo $SSD --start --background --make-pidfile --pidfile $PIDFILE --exec $SCRIPT 17 $SSD --start --background --make-pidfile --pidfile $PIDFILE --exec $SCRIPT 22 $SSD --stop --pidfile $PIDFILE
|
/dports/www/mod_webauth/webauth-4.7.0/tests/tap/ |
H A D | remctl.c | 66 char *tmpdir, *pidfile, *confpath; in remctld_start_internal() local 78 basprintf(&pidfile, "%s/remctld.pid", tmpdir); in remctld_start_internal() 79 if (access(pidfile, F_OK) == 0) in remctld_start_internal() 80 bail("remctld may already be running: %s exists", pidfile); in remctld_start_internal() 100 argv[i++] = pidfile; in remctld_start_internal() 109 process = process_start_fakeroot(argv, pidfile); in remctld_start_internal() 111 process = process_start(argv, pidfile); in remctld_start_internal() 115 free(pidfile); in remctld_start_internal()
|
/dports/math/gretl/gretl-2021d/gui/ |
H A D | gretl_ipc.c | 284 char pidfile[FILENAME_MAX]; in write_pid_to_file() local 297 f1 = gretl_fopen(pidfile, "rb"); in write_pid_to_file() 301 f1 = gretl_fopen(pidfile, "wb"); in write_pid_to_file() 338 gretl_remove(pidfile); in write_pid_to_file() 356 char pidfile[FILENAME_MAX]; in delete_pid_from_file() local 370 f1 = gretl_fopen(pidfile, "rb"); in delete_pid_from_file() 399 gretl_remove(pidfile); in delete_pid_from_file() 405 gretl_remove(pidfile); in delete_pid_from_file() 433 char pidfile[FILENAME_MAX]; in gretl_prior_instance() local 451 pidfile, (void *) fp); in gretl_prior_instance() [all …]
|