Home
last modified time | relevance | path

Searched refs:_pidfile (Results 1 – 25 of 28) sorted by relevance

12

/dports/cad/uranium/Uranium-3ed9c4de/UM/
H A DLockFile.py35 self._pidfile = None #type: Optional[int]
63 self._pidfile = os.open(self._filename, open_flags, open_mode)
86 self._pidfile = None
93 …self._pidfile = windll.kernel32.CreateFileW(self._filename, GENERIC_READ_WRITE, NO_SHARE, None, CR…
95 if self._pidfile is not None and self._pidfile != -1: # -1 is the INVALID_HANDLE
105 if self._pidfile is None:
108 os.close(self._pidfile)
120 windll.kernel32.CloseHandle(self._pidfile)
/dports/dns/dnscrypt-wrapper/dnscrypt-wrapper-0.4.2/
H A Dpidfile.c4 static const char *_pidfile = NULL; variable
9 if (_pidfile != NULL) { in pidfile_remove_file()
10 unlink(_pidfile); in pidfile_remove_file()
11 _pidfile = NULL; in pidfile_remove_file()
49 _pidfile = pidfile; in pidfile_create()
/dports/devel/py-ovs/ovs-2.9.0/ovs/
H A Ddaemon.py48 _pidfile = None variable
87 global _pidfile
88 _pidfile = make_pidfile_name(name)
148 tmpfile = "%s.tmp%d" % (_pidfile, pid)
151 tmpfile = "%s" % _pidfile
189 os.rename(tmpfile, _pidfile)
196 os.link(tmpfile, _pidfile)
209 ovs.fatal_signal.add_file_to_unlink(_pidfile)
485 if _pidfile:
598 pid = __read_pidfile(_pidfile, True)
[all …]
/dports/sysutils/p5-Fuse/Fuse-0.16.1/test/
H A Dhelper.pm10 @EXPORT_OK = qw($_loop $_opts $_point $_pidfile $_real);
12 our($_loop, $_point, $_pidfile, $_real, $_opts) = ('examples/loopback.pl',"$tmp/fusemnt-".$ENV{LOGN…
13 $_opts = ' --pidfile ' . $_pidfile;
18 if(open my $fh, '<', $_pidfile) {
/dports/devel/py-python-application/python-application-2.8.0/application/
H A Dprocess.py136 self._pidfile = None
146 pidfile = self._pidfile
216 if not self._pidfile:
218 if os.path.dirname(self._pidfile) == self.runtime.directory:
221 with open(self._pidfile, 'wb') as pf:
224 raise ProcessError('unable to write pidfile %s: %s' % (self._pidfile, e))
253 if self._pidfile:
255 os.unlink(self._pidfile)
257 log.warning('unable to delete pidfile %s: %s' % (self._pidfile, e))
265 self._pidfile = self.runtime.file(pidfile)
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/application/runner/test/
H A Dtest_pidfile.py19 from ...runner import _pidfile
20 from .._pidfile import (
200 self.patch(_pidfile, "kill", kill)
230 self.patch(_pidfile, "kill", kill)
246 self.patch(_pidfile, "kill", kill)
285 self.patch(_pidfile, "kill", kill)
324 self.patch(_pidfile, "kill", kill)
345 self.patch(_pidfile, "kill", kill)
H A Dtest_runner.py30 from .._pidfile import NonePIDFile, PIDFile
/dports/sysutils/p5-Fuse/Fuse-0.16.1/test/s/
H A Dmount.t2 use test::helper qw($_point $_loop $_opts $_real $_pidfile);
37 kill('INT',`cat $_pidfile`);
38 unlink($_pidfile);
H A Dumount.t2 use test::helper qw($_point $_real $_pidfile);
11 system("rm -rf $_real $_pidfile");
/dports/devel/py-daemons/daemons-1.3.1/daemons/interfaces/
H A Dpid.py17 self._pidfile = kwargs.pop("pidfile", None)
18 if not self._pidfile:
28 os.path.expandvars(os.path.expanduser(self._pidfile))
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/end2end/features/
H A Dtest_editor_bdd.py82 self._pidfile = directory / 'editor_pid'
94 if self._pidfile.check():
95 if self._pidfile.read():
99 self._watcher.addPath(str(self._pidfile))
102 return self._pidfile.check()
/dports/audio/mpdscribble/mpdscribble-0.22/src/
H A Ddaemon.c171 daemonize_init(const char *user, const char *_pidfile) in daemonize_init() argument
187 pidfile = g_strdup(_pidfile); in daemonize_init()
190 (void)_pidfile; in daemonize_init()
/dports/sysutils/istatserver/istatserver-3.02/src/
H A DDaemon.h47 …Daemon(const std::string &_pidfile, const std::string &_sockfile) : pidfile(_pidfile), sockfile(_s… in Daemon() argument
/dports/devel/py-daemons/daemons-1.3.1/daemons/
H A Ddaemonizer.py22 self._pidfile = pidfile
31 d = self.DaemonClass(pidfile=self._pidfile)
/dports/net/nbdkit/nbdkit-1.20.4/tests/
H A Dfunctions.sh.in117 local _pidfile _i
124 _pidfile="$2"
131 if test -s "$_pidfile"; then
136 if ! test -s "$_pidfile"; then
137 echo "$0: start_nbdkit: PID file $_pidfile was not created"
142 cleanup_fn kill_nbdkit "$(cat "$_pidfile")"
/dports/audio/musicpd/mpd-0.23.6/src/unix/
H A DDaemon.cxx216 daemonize_init(const char *user, const char *group, AllocatedPath &&_pidfile) in daemonize_init() argument
242 pidfile = std::move(_pidfile); in daemonize_init()
/dports/net/samba412/samba-4.12.15/ctdb/doc/examples/
H A Dnfs-ganesha-callout242 _pidfile="/var/run/ganesha.pid"
244 if ! { read -r _pid < "$_pidfile" && \
/dports/devel/radare2/radare2-5.1.1/libr/socket/
H A Drun.c502 p->_pidfile = strdup (e); in r_run_parseline()
1147 if (p->_pidfile) { in r_run_start()
1150 r_file_dump (p->_pidfile, in r_run_start()
1185 if (p->_pidfile) { in r_run_start()
1220 if (p->_pidfile) { in r_run_start()
1223 r_file_dump (p->_pidfile, in r_run_start()
1248 if (p->_pidfile) { in r_run_start()
1251 r_file_dump (p->_pidfile, in r_run_start()
/dports/databases/sqlrelay/sqlrelay-1.7.0/src/server/
H A Dsqlrlistener.cpp53 char *_pidfile; member in sqlrlistenerprivate
125 pvt->_pidfile=NULL; in sqlrlistener()
181 if (pvt->_pidfile) { in ~sqlrlistener()
182 file::remove(pvt->_pidfile); in ~sqlrlistener()
224 delete[] pvt->_pidfile; in cleanUp()
388 process::createPidFile(pvt->_pidfile,permissions::ownerReadWrite()); in init()
481 charstring::printf(&pvt->_pidfile, in handlePidFile()
485 if (process::checkForPidFile(pvt->_pidfile)!=-1) { in handlePidFile()
496 SQLR,pvt->_pidfile,SQLR,id); in handlePidFile()
497 delete[] pvt->_pidfile; in handlePidFile()
[all …]
H A Dsqlrservercontroller.cpp199 char *_pidfile; member in sqlrservercontrollerprivate
403 pvt->_pidfile=NULL; in sqlrservercontroller()
486 if (pvt->_pidfile) { in ~sqlrservercontroller()
487 file::remove(pvt->_pidfile); in ~sqlrservercontroller()
488 delete[] pvt->_pidfile; in ~sqlrservercontroller()
788 charstring::printf(&pvt->_pidfile, in init()
793 process::createPidFile(pvt->_pidfile,permissions::ownerReadWrite()); in init()
/dports/net/dhcpcd/dhcpcd-9.4.1/
H A Dconfigure914 cat <<EOF >_pidfile.c
928 if $XCC _pidfile.c -o _pidfile 2>&3; then
930 elif [ -e "$1" ] && $XCC _pidfile.c -o _pidfile -lutil 2>&3; then
937 rm -f _pidfile.c _pidfile
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/application/runner/
H A D_runner.py28 from ._pidfile import AlreadyRunningError, InvalidPIDFileError, IPIDFile, nonePIDFile
/dports/devel/radare2/radare2-5.1.1/libr/include/
H A Dr_socket.h229 char *_pidfile; member
/dports/ftp/p5-Net-FTPServer/Net-FTPServer-1.125/lib/Net/
H A DFTPServer.pm3231 $self->{_pidfile} = $self->config ("pidfile");
3233 if (defined $self->{_pidfile})
3235 my $pidfile = $self->{_pidfile};
3241 $self->{_pidfile} = $1;
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/zabbix/docs/
H A DZABBIX_AGENT_ROLE.md163 …e. When `(2)` is used in the name of the property, like `zabbix_agent(2)_pidfile`, it will show th…
167 * `zabbix_agent(2)_pidfile`: name of pid file.

12