Home
last modified time | relevance | path

Searched refs:pidfile (Results 201 – 225 of 5505) sorted by relevance

12345678910>>...221

/dports/www/kannel/gateway-1.4.4/debian/
H A Dkannel-cvs.init30 --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 Dkannel-devel.init30 --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 Dvector32 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 Dncidsip.pl44 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 Dpidfile.c31 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 Dqemu_virtiofs.c180 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 Dqemu_vhost_user_gpu.c74 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 Dmain.c266 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 Dquoted.sh.rc.freebsd21 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 Dunfsd.init18 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 Dpu_pid.t58 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 Dmain.c42 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 DSysV.hpp19 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 Dstatsite.initscript32 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 Dfoswiki.fcgi48 $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 Dstart-memcached25 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 Ddaemon.py56 …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 Dhtcacheclean.init51 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 Dhtcacheclean.init51 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 Dtest.pl24 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 Dtenshi.openrc-init10 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 DManager.pm68 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 Dqudo-worker10 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 Dremctl.c66 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 Dgretl_ipc.c284 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 …]

12345678910>>...221