Lines Matching refs:pidfile
39 def __init__(self, pidfile, stdin=os.devnull, stdout=os.devnull, argument
44 self.pidfile = pidfile
95 pid_handler = open(self.pidfile, 'w+')
100 os.remove(self.pidfile)
112 pf = open(self.pidfile, 'r')
120 sys.stderr.write(message % self.pidfile)
137 pf = open(self.pidfile, 'r')
145 sys.stderr.write(message % self.pidfile)
149 if os.path.exists(self.pidfile):
150 os.remove(self.pidfile)
162 if os.path.exists(self.pidfile):
163 os.remove(self.pidfile)