Fix the PID number stored on filesystem
This commit is contained in:
		| @@ -105,7 +105,7 @@ def run(): | ||||
|         if pid: | ||||
|             sys.exit() | ||||
|         elif config.get("server", "pid"): | ||||
|             open(config.get("server", "pid"), "w").write(str(pid)) | ||||
|             open(config.get("server", "pid"), "w").write(str(os.getpid())) | ||||
|         sys.stdout = sys.stderr = open(os.devnull, "w") | ||||
|  | ||||
|     # Register exit function | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Guillaume Ayoub
					Guillaume Ayoub