Home
last modified time | relevance | path

Searched refs:_pid_file (Results 1 – 25 of 45) sorted by relevance

12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/tools/blinkpy/web_tests/servers/
H A Dserver_base_unittest.py45 server._pid_file = '/tmp/pidfile'
49 host.filesystem.write_text_file(server._pid_file, 'foo')
51 self.assertIsNone(host.filesystem.files[server._pid_file])
53 host.filesystem.write_text_file(server._pid_file, 'foo')
59 self.assertIsNone(host.filesystem.files[server._pid_file])
H A Dserver_base.py68 self._pid_file = None
92 if self._filesystem.exists(self._pid_file):
94 self._pid = int(self._filesystem.read_text_file(self._pid_file))
119 if self._filesystem.exists(self._pid_file):
121 actual_pid = int(self._filesystem.read_text_file(self._pid_file))
176 self._filesystem.write_text_file(self._pid_file, str(pid))
181 if self._filesystem.exists(self._pid_file):
182 self._filesystem.remove(self._pid_file)
195 if self._filesystem.exists(self._pid_file):
196 self._filesystem.remove(self._pid_file)
H A Dapache_http.py53 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % self._name)
110 '-c', 'PidFile %s' % self._pid_file,
172 if not self._wait_for_action(lambda: self._filesystem.exists(self._pid_file)):
176 return int(self._filesystem.read_text_file(self._pid_file))
185 self._filesystem.remove(self._pid_file)
195 '-c', 'PidFile "%s"' % self._pid_file,
205 if not self._wait_for_action(lambda: not self._filesystem.exists(self._pid_file)):
H A Dwptserve_unittest.py84 server._pid_file = '/tmp/pidfile'
90 self.assertEqual(self.host.filesystem.files[server._pid_file], '42')
112 server._pid_file = '/tmp/pidfile'
120 self.assertEqual(self.host.filesystem.files[server._pid_file], '42')
138 self.assertFalse(self.host.filesystem.exists(server._pid_file))
H A Dwptserve.py35 self._pid_file = fs.join(self._runtime_path, '%s.pid' % self._name)
94 if self._filesystem.exists(self._pid_file):
95 self._filesystem.remove(self._pid_file)
/dports/devel/ticcutils/ticcutils-0.28/src/
H A DServerBase.cxx145 _pid_file = value; in ServerBase()
396 if ( !_pid_file.empty() ){ in Run()
398 if ( _do_daemon && _pid_file[0] != '/' ) { in Run()
400 _pid_file = '/' + _pid_file; in Run()
402 unlink( _pid_file.c_str() ); in Run()
403 ofstream pid_file( _pid_file ); in Run()
405 LOG<< "unable to create pidfile:"<< _pid_file << endl; in Run()
441 if ( !_pid_file.empty() ){ in Run()
444 ofstream pid_file( _pid_file ) ; in Run()
446 LOG << "unable to create pidfile:"<< _pid_file << endl; in Run()
[all …]
/dports/deskutils/taskd/taskd-1.1.0/src/
H A DServer.cpp74 , _pid_file ("") in Server()
136 _pid_file = file; in setPidFile()
371 FILE* output = fopen (_pid_file.c_str (), "w"); in writePidFile()
378 if (_log) _log->write ("Error: could not write PID to '" + _pid_file + "'."); in writePidFile()
384 assert (_pid_file.length () > 0); in removePidFile()
385 unlink (_pid_file.c_str ()); in removePidFile()
H A DServer.h81 std::string _pid_file; variable
/dports/www/fusionpbx/fusionpbx-4.4.1/resources/install/scripts/resources/functions/
H A Devent_consumer.lua452 self._pid_file = pid_file
465 if not self._pid_file then
468 if not file.exists(self._pid_file) then
472 local stored = file.read(self._pid_file)
481 if self._pid_file then
482 local pid_path = basename(self._pid_file)
484 assert(file.write(self._pid_file, self._pid))
565 if self._pid_file and self:_check_pid_file() then
566 file.remove(self._pid_file)
/dports/textproc/p5-Sphinx-Manager/Sphinx-Manager-0.08/lib/Sphinx/
H A DManager.pm52 return $self->{_pid_file} = Path::Class::file($file);
56 return $self->{_pid_file} if $self->{_pid_file};
59 return $self->{_pid_file};
71 $self->{_pid_file} = Path::Class::file($pid_file);
/dports/databases/p5-Memcached-libmemcached/Memcached-libmemcached-1.001801/src/libmemcached/libtest/
H A Dserver.h61 std::string _pid_file; member
148 return _pid_file; in pid_file()
204 _pid_file.clear(); in reset()
H A Dserver.cc365 _pid_file.clear(); in reset_pid()
435 _pid_file= &file_buffer[0]; in set_pid_file()
476 if (_pid_file.empty() and set_pid_file() == false) in args()
/dports/devel/gearmand/gearmand-1.0.6/libtest/
H A Dserver.h61 std::string _pid_file; member
148 return _pid_file; in pid_file()
204 _pid_file.clear(); in reset()
H A Dserver.cc365 _pid_file.clear(); in reset_pid()
435 _pid_file= &file_buffer[0]; in set_pid_file()
476 if (_pid_file.empty() and set_pid_file() == false) in args()
/dports/databases/libmemcached/libmemcached-1.0.18/libtest/
H A Dserver.h61 std::string _pid_file; member
148 return _pid_file; in pid_file()
204 _pid_file.clear(); in reset()
H A Dserver.cc365 _pid_file.clear(); in reset_pid()
435 _pid_file= &file_buffer[0]; in set_pid_file()
476 if (_pid_file.empty() and set_pid_file() == false) in args()
/dports/devel/gearmand/gearmand-1.0.6/bin/
H A Darguments.h118 return _pid_file; in pid_file()
228 std::string _pid_file; variable
/dports/www/p5-Toadfarm/Toadfarm-0.83/lib/Toadfarm/Command/
H A Dstart.pm52 my $file = $self->_pid_file;
59 sub _pid_file { subroutine
H A Dstatus.pm13 my $pid_file = $self->_pid_file;
/dports/devel/gearmand/gearmand-1.0.6/benchmark/
H A Dblobslap_worker.cc130 util::Pidfile _pid_file(pid_file); in main() local
134 if (_pid_file.create() == false) in main()
136 std::cerr << _pid_file.error_message().c_str(); in main()
/dports/net/kea/kea-2.0.1/src/bin/keactrl/
H A Dkeactrl.in132 _pid_file="${pid_file_dir}/${conf_name}.${proc_name}.pid"
135 _pid=$(cat "${_pid_file}" 2> /dev/null || true)
190 PID ${_pid}, PID file: ${_pid_file}."
/dports/databases/py-mysql-connector-python/mysql-connector-python-8.0.27/tests/
H A Dmysqld.py354 pid = pid if pid is not None else get_pid(self._pid_file)
405 self._pid_file = os.path.join(topdir,
646 'pid_file': _convert_forward_slash(self._pid_file),
692 pid = get_pid(self._pid_file)
696 name=self._name, pid_file=self._pid_file))
715 pid = get_pid(self._pid_file)
766 pid = pid or get_pid(self._pid_file)
/dports/devel/gearmand/gearmand-1.0.6/gearmand/
H A Dgearmand.cc337 util::Pidfile _pid_file(pid_file); in main() local
339 if (_pid_file.create() == false and pid_file.compare(GEARMAND_PID)) in main()
341 error::perror(_pid_file.error_message().c_str()); in main()
/dports/databases/p5-Memcached-libmemcached/Memcached-libmemcached-1.001801/src/libmemcached/example/
H A Dmemcached_light.cc540 util::Pidfile _pid_file(global_options.pid_file); in main() local
542 if (_pid_file.create() == false) in main()
544 std::cerr << "Failed to create pid-file" << _pid_file.error_message() << std::endl; in main()
/dports/databases/libmemcached/libmemcached-1.0.18/example/
H A Dmemcached_light.cc540 util::Pidfile _pid_file(global_options.pid_file); in main() local
542 if (_pid_file.create() == false) in main()
544 std::cerr << "Failed to create pid-file" << _pid_file.error_message() << std::endl; in main()

12