mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Don't create a default pid file (#637)
This commit is contained in:
		| @@ -515,12 +515,10 @@ please consider changing to GITEA_CUSTOM`) | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	if len(CustomPID) == 0 { | ||||
| 		CustomPID = CustomPath + "/run/app.pid" | ||||
| 	if len(CustomPID) > 0 { | ||||
| 		createPIDFile(CustomPID) | ||||
| 	} | ||||
|  | ||||
| 	createPIDFile(CustomPID) | ||||
|  | ||||
| 	if len(CustomConf) == 0 { | ||||
| 		CustomConf = CustomPath + "/conf/app.ini" | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user