MCPcopy
hub / github.com/pyload/pyload / deletePidFile

Method deletePidFile

pyLoadCore.py:203–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

201 f.close()
202
203 def deletePidFile(self):
204 if self.checkPidFile():
205 self.log.debug("Deleting old pidfile %s" % self.pidfile)
206 os.remove(self.pidfile)
207
208 def checkPidFile(self):
209 """ return pid as int or 0"""

Callers 2

writePidFileMethod · 0.95
shutdownMethod · 0.95

Calls 2

checkPidFileMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected